...
After we properly preprocessed the audio, we wanted to get data from the audio. This is where the FFT comes in as it can properly transfer the PCM samples to the frequency domain and a visualization of the data can be made. From the FFT we can also calculate the magnitude of certain frequencies which could help identify birds through their calls.
...
Testing
Testing Strategy
What was your overall testing strategy? What types of testing did you perform?
Running Tests
The main testing strategy was inputting a PCM sample. We wanted to see if a normal test case would work. To determine a successful test case, we made an output file called processed_output.pcm to compare the pcm samples from before being processed to after. We've also printed out the number of PCM samples to make sure it was properly taking in and counting all the samples.
Running Tests
Running the test is very easy! Simply run the command gcc -0 main main.c src.o -lm to see the overall output. Include step-by-step instructions on how to run the tests on your design (from a clean clone, if stored on GitHub)
...
Appendix
Resources
Hamming and Hanning:
...