Releases: bastibe/python-soundfile
0.10.3
- Improves README
- Improves error messages (thank you, Christoph Boeddeker)
- Improves tests (thank you, Matt Vollrath)
- Improves SoundFileInfo display (thank you, Hannes Helmholz)
0.10.2
0.10.1
0.8.0
This latest release of SoundFile fixes many small issues, in particular with the handling of file-like objects.
There are two breaking changes:
- Changed the default value of
always_2dfromTruetoFalse. - Changed the argument order of the
writefunction fromwrite(data, file, ...)towrite(file, data, ...)
Apart from that, here are the highlights of this release:
- Numpy is now optional, and only loaded for
readandwrite. - Added
SoundFile.buffer_readandSoundFile.buffer_read_intoandSoundFile.buffer_write, which read/write raw data without involving Numpy. - Added
infofunction that returns metadata of a sound file.
Wheels!
Again, thanks to Matthias Geier for all of his hard work, but also Nils Werner and Whistler7 for their many suggestions and help.
- Renamed
import pysoundfiletoimport soundfile. - Installation through pip wheels that contain the necessary libraries for OS X and Windows.
- Removed
exclusive_creationargument towrite. - Added
truncate()method.
IMPORTANT: This release does not have Windows installers any more. Instead, we now have OS-specific wheels that contain the necessary libraries for Windows and OSX on PyPI. From now on pip install pysoundfile should not require additional binaries (on Windows and OS X).
0.6.0
The latest release of PySoundFile cleans up many small
inconsistencies, particularly in the the ordering and naming of
function arguments. Therefore, old code will probably not work any
more.
It also adds a number of great new features, such as global read
and write functions that do not require you to open a
SoundFile, or a blocks function that can read a sound file one
block at a time. It has also grown a lot more flexible and powerful at
opening things like streams, buffers, or file descriptors.
With all these improvements, we feel that the indexing interface is
not needed any more. It is now officially marked as deprecated and
might be removed in the future.
A big, big thank you to Matthias Geier, who did most of the work!
Changes:
- Switched to
float64as default data type. - Function arguments changed for consistency.
- Added unit tests.
- Added global
read(),write(),blocks()convenience
functions. - Documentation overhaul and hosting on readthedocs.
- Added
'x'open mode. - Added
tell()method. - Added
__repr__()method.
0.5.0
This release includes quite a few new features and bug fixes:
- a flush() method
- fixed bug that reported the wrong len()
- indexing now works for frames and channels
- read() reads to the end of the file by default
- fixed bug that seeked to the wrong place in some cases.
A big thanks to @mgeier, who helped to find and fix a lot of these issues!