The python package for acoustics research (pyfar) offers classes to store audio data, filters, coordinates, and orientations. It also contains common functions for digital audio signal processing.
Check out the examples notebook for a tour of the most important pyfar functionality and read the docs for the complete documentation. Packages related to pyfar are listed at pyfar.org.
Use pip to install pyfar
$ pip install pyfar
(Requires Python 3.8 or higher)
Audio file reading/writing is supported through SoundFile, which is based on libsndfile. On Windows and OS X, it will be installed automatically. On Linux, you need to install libsndfile using your distribution’s package manager, for example
sudo apt-get install libsndfile1.
Refer to the contribution guidelines for more information.