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