Programming a Spectrogram using C [closed]
I am trying to make an audio spectrogram in C and am thinking about using the BASS library:
http://www.un4seen.com.
I searched over Google and here, but majority of examples are in C++. If any of you have any experience or resource regarding this, please help; it would be much appreciated.
So this is what I want to do:
- Read from mic input.
- Sample the data.
- Apply Short time Fourier transform.
- Then take the magnitude and plot it at the certain frequency.
Something like this:
http://upload.wikimedia.org/wikipedia/commons/c/c5/Spectrogram-19thC.png
If you can help it would be great.
精彩评论