Programming a Spectrogram using C [closed]

房东的猫 提交于 2019-12-06 03:40:33

问题


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:

  1. Read from mic input.
  2. Sample the data.
  3. Apply Short time Fourier transform.
  4. 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.

来源:https://stackoverflow.com/questions/6635400/programming-a-spectrogram-using-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!