int window = 512; fftDsp->setParameterInt(FMOD_DSP_FFT_WINDOWSIZE, window);
The number of frequency bins is half the FFT size.
the number of frequency bins is half the fft window size?
oh thats what this comment was referring too?
“Only read/display half of the buffer typically for analysis as the 2nd half is usually the same data reversed due to the nature of the way FFT works.”
Yes. To be precise the first half of the FFT buffer contains the positive frequencies, which is what you’re interested in. The second half contains the negative frequencies, which is symmetrical to the positive frequencies.
- You must login to post comments
Please login first to submit.