Skip to content

Releases: bastibe/python-soundfile

0.10.1

04 Dec 09:56
Compare
Choose a tag to compare

Bugfix release:

  • improvements to build system
  • improvements to documentation

0.8.0

20 Oct 14:54
Compare
Choose a tag to compare

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_2d from True to False.
  • Changed the argument order of the write function from write(data, file, ...) to write(file, data, ...)

Apart from that, here are the highlights of this release:

  • Numpy is now optional, and only loaded for read and write.
  • Added SoundFile.buffer_read and SoundFile.buffer_read_into and SoundFile.buffer_write, which read/write raw data without involving Numpy.
  • Added info function that returns metadata of a sound file.

Wheels!

12 Apr 13:23
Compare
Choose a tag to compare

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 pysoundfile to import soundfile.
  • Installation through pip wheels that contain the necessary libraries for OS X and Windows.
  • Removed exclusive_creation argument to write.
  • 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

19 Jan 16:32
Compare
Choose a tag to compare

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 float64 as 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

26 Feb 17:08
Compare
Choose a tag to compare

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!