Installation¶
This library depends on libsndfile to work, so you must install their headers before:
Ubuntu/Debian:
sudo apt-get install libsndfile1-devmacOS/Homebrew:
brew install libsndfileArch Linux:
sudo pacman -S libsndfileFedora:
sudo dnf install libsndfile-develWindows: Download and install an official precompiled binary.
After that, you only need to install using PIP as usually:
pip install waves
You can pass the following extras to the installation:
play: you will can listen the sound usingsound.playusing pygame.plot: you will can paint the spectrum of sounds as figures in matplotlib canvas usingsound.plot.
pip install waves[play,plot]