A quick script to estimate the primary frequencies of wav files. Operates by taking 20 frequency 'windows' per second, and performing a Fast Fourier Transform on these windows to extract the primary frequencies. The frequency with the highest magnitude is deemed the primary frequency, and plotted.
usage: estimateFrequency.py [-h] [-source SOURCE]
optional arguments:
-h, --help show this help message and exit
-source SOURCE wav file to be analyzed; defaults to ./data/range.wav
pip install -r requirements.txt
Requires numpy and matplotlib