Run the following commands on your terminal of choice:
pip install numpy
pip install pandas
pip install matplotlib
pip install librosa
pip install pydub
WARNING: In order to run this script you must also make sure to have installed ffmpeg
, it also needs to be added to your PATH
environment variable. Depending upon the version of Python you are running you may or may not have it already installed. For further documentation on how to properly install ffmpeg
please refer to the installation site.
As of now, this project uses a list of csv files contained in data\test_data
(you will have to create this directory) and the sampling frequency is set to 48 KHz. Our script loops through the directory and converts each csv
file into a data frame with 2 columns, we are supposing that the files contained a stereo signal.
Then it merges the signals to create a mono file, and finally a FFT (Fast Fourier Transform) is performed on the signal. The results are plotted considered a frequency domain of around 20 KHz, then they are saved in images
.
Keep in mind, this is just a beta version of our project. We plan to implement further features such as:
- Numerical matching
- Capability of receiving a signal from a microphone
- A GUI
- Small audio preprocessing module
- Our own implementation of the FFT
Feel free to make any pull requests! We'd like to see your contribution!