python-soundfile

SoundFile is an audio library based on libsndfile, CFFI, and NumPy

BSD-3-CLAUSE License

Downloads
5.3M
Stars
667
Committers
24

Bot releases are hidden (Show)

python-soundfile - 0.12.1 Latest Release

Published by bastibe over 1 year ago

Fixes a bug in the library discover on Linux, if no system library and no packaged library could be found.

python-soundfile - 0.12.0

Published by bastibe over 1 year ago

Thank you, Barabazs, Andrew Murray, Jon Peirce, for contributions
to this release.

  • Updated libsndfile to v1.2.0
  • Improves precompiled library location, especially with py2app or cx-freeze.
  • Now provide binary wheels for Linux x86_64
  • Now prefers packaged libsndfile over system-installed libsndfile
python-soundfile - 0.11.0

Published by bastibe about 2 years ago

Thank you, tennies, Hannes Helmholz, Christoph Boeddeker, Matt Vollrath, Matthias Geier, Jacek Konieczny, Boris Verkhovskiy, Jonas Haag, Eduardo Moguillansky, Panos Laganakos, Jarvy Jarvison, Domingo Ramirez, Tim Chagnon, Kyle Benesch, Fabian-Robert Stöter, Joe Todd

  • MP3 support
  • Adds binary wheels for macOS M1
  • Improves compatibility with macOS, specifically for M1 machines
  • Fixes file descriptor open for binary wheels on Windows and Python 3.5+
  • Updates libsndfile to v1.1.0
  • Adds get_strings method for retrieving all metadata at once
  • Improves documentation, error messages and tests
  • Displays length of very short files in samples
  • Supports the file system path protocol (pathlib et al)
python-soundfile - 0.11.0b6

Published by bastibe about 2 years ago

This is a pre-release

  • Includes updated libsndfile 1.1.0 binaries for Windows 32/64, and macOS x86_64/arm64.
  • Adds MP3 support.

Fixes re 0.11.0b5:

  • Fixes MP3 support in macOS Intel binary

Known issues:

  • The included libsndfile.dll for Windows only supports file descriptor open on Python 3.5+.
  • Virtual IO (opening file-like Python objects) is broken on some versions of macOS and SELinux.
python-soundfile - 0.11.0b5

Published by bastibe over 2 years ago

This is a pre-release

  • Includes updated libsndfile 1.1.0 binaries for Windows 32/64, and macOS x86_64/arm64.
  • Adds MP3 support.

Fixes re 0.11.0b4:

  • Fixes MP3 support in macOS M1 binary
  • Fixes MP3 file extension support

Known issues:

  • The included libsndfile.dll for Windows only supports file descriptor open on Python 3.5+.
  • Virtual IO (opening file-like Python objects) is broken on some versions of macOS and SELinux.
python-soundfile - 0.11.0b4

Published by bastibe over 2 years ago

This is a pre-release

  • Includes updated libsndfile 1.1.0 binaries for Windows 32/64, and macOS x86_64/arm64.
  • Adds MP3 support.

Known issues:

  • The included libsndfile.dll for Windows only supports file descriptor open on Python 3.5+.
  • Virtual IO (opening file-like Python objects) is broken on some versions of macOS and SELinux.
python-soundfile - 0.11.0b3

Published by bastibe over 2 years ago

This is a pre-release

Includes updated binaries for Windows 32/64, and macOS x86_64/arm64.

Fixes re: 0.11.0b2:

  • Fixed wheel OS tag on macOS, to allow installing the macOS wheels.
  • Fixed wheel OS tag on macOS, to allow installing the macOS wheels, for real this time.

Known issues:

  • The included libsndfile.dll for Windows only supports file descriptor open on Python 3.5+.
  • Virtual IO (opening file-like Python objects) is broken on some versions of macOS and SELinux.
python-soundfile - 0.11.0b2

Published by bastibe over 2 years ago

This is a pre-release

Includes updated binaries for Windows 32/64, and macOS x86_64/arm64.

Known issues:

  • The included libsndfile.dll for Windows only supports file descriptor open on Python 3.5+.
python-soundfile - 0.10.3

Published by bastibe almost 5 years ago

  • Improves README
  • Improves error messages (thank you, Christoph Boeddeker)
  • Improves tests (thank you, Matt Vollrath)
  • Improves SoundFileInfo display (thank you, Hannes Helmholz)
python-soundfile - 0.10.2

Published by bastibe almost 5 years ago

Adds support for file system path protocol (PEP 519)

python-soundfile - 0.10.1

Published by bastibe almost 5 years ago

Bugfix release:

  • improvements to build system
  • improvements to documentation
python-soundfile - 0.8.0

Published by bastibe almost 9 years ago

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.
python-soundfile - Wheels!

Published by bastibe over 9 years ago

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).

python-soundfile - 0.6.0

Published by bastibe over 9 years ago

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.
python-soundfile - 0.5.0

Published by bastibe over 10 years ago

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!