开发者

Code example drawing WAVE's spectrum analysis image

开发者 https://www.devze.com 2023-04-13 04:05 出处:网络
Is there an example of drawing WAVE spectrum analysis image开发者_高级运维 like the one below?

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

精彩评论

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

关注公众号