开发者

How to get the frequency of the sound to draw spectrum in JavaME?

开发者 https://www.devze.com 2023-03-16 10:37 出处:网络
I have a problem and I 开发者_Python百科need your help. I want to read a media file (mp3, wav,...), play it, and draw its spectrum but I don\'t know how to get the frequency of the sound in J2ME. Anyb

I have a problem and I 开发者_Python百科need your help. I want to read a media file (mp3, wav,...), play it, and draw its spectrum but I don't know how to get the frequency of the sound in J2ME. Anybody can give me an answer ? Thanks!


What you are looking for is called "Fast Fourier Transform" or FFT for short. It is a method of analyzing a sound to extract spectrum information. See http://www.developer.nokia.com/Community/Discussion/showthread.php?165183-Frequency-Analysis-in-J2ME for links to some sources.

You can also Google for j2me fft

0

精彩评论

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

关注公众号