开发者

Programming a Spectrogram using C [closed]

开发者 https://www.devze.com 2023-03-19 13:58 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarify开发者_开发知识库ing this question so that it can be reopened, visit the help center. Closed 11 years ago.

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:

Programming a Spectrogram using C [closed]

http://upload.wikimedia.org/wikipedia/commons/c/c5/Spectrogram-19thC.png

If you can help it would be great.

0

精彩评论

暂无评论...
验证码 换一张
取 消