开发者

Code example drawing WAVE's spectrum analysis image

Is there an example of drawing WAVE spectrum analysis image开发者_高级运维 like the one below?

Preferred language is Python; Ruby also.

Code example drawing WAVE's spectrum analysis image


You have to compute the magnitude (magnitude = hypothenus) of each bins(real,imag) of a FFT analysis, then you scale each point, X is a frequency to Pitch function ( frequency = bins index * (SamplingRate / FFTSize)) and Y is an amplitude to decibel function ( applied to each previously computed magnitude.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜