For the AnalyserNode in the Web Audio API, what is the frequency range of the data returned by getFloatFrequencyData() and getByteFrequencyData()? Can I assume the AnalyserNode is simply FFT, making the range zero-to-half-the-sample-rate?
Yes, that's correct. The frequency bins are linearly spread across the frequencies from 0 to 1/2 the sample rate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With