Skip to content

0.8.0

Compare
Choose a tag to compare
@bastibe bastibe released this 20 Oct 14:54
· 184 commits to master since this release

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.