The code in this project provides a means of comparing two audio files through visualization to see their similarities and differences. A detailed walkthrough for how to implement the custom classes is provided in the main.ipynb
. Additionaly, you can find a writeup and sample analysis using these tools at this medium article.
-
main.ipynb - Documentation and implementation for the
AudioAnalyzer
andSpetrumCompare
classes. -
python - Contains the main code base in the
AudioAnalyzer.py
file. -
audio - Contains sample audio for the demonstrations.
In order to implement these classes, you will need the following packages installed in your environment:
numpy
pandas
matplotlib
seaborn
scipy
librosa
Also, if you are using linux, you may also need to install additional codecs if you want to use MP3 files and not WAV files.
The code in this project is shared under the MIT license. You are free to use it as you like, but please give credit when applicable.