Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AnalyserNode windowing

The AnalyserNode of WebAudio has a FFT to get the frequency domain data of a sound signal. I don't understand how the windowing function of the FFT is defined. Is it possible to change the window size or even the window-function (i.e. Hanning or Blackman)? If the window is not adjustable, what is the window size and which windowing function is used?

Unfortunately I was't able to find that in the docs.

like image 544
treeno Avatar asked Sep 19 '26 17:09

treeno


1 Answers

The spec has been updated with more detail on how the windowing in the AnalyserNode is done: http://webaudio.github.io/web-audio-api/#fft-windowing-and-smoothing-over-time

In summary, the window size is the FFT size, and the window function is fixed to be Blackman window.

like image 194
Raymond Toy Avatar answered Sep 21 '26 09:09

Raymond Toy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!