generating correct spectrogram using fftw and window function
问题 For a project I need to be able to generate a spectrogram from a .WAV file. I've read the following should be done: Get N (transform size) samples Apply a window function Do a Fast Fourier Transform using the samples Normalise the output Generate spectrogram On the image below you see two spectrograms of a 10000 Hz sine wave both using the hanning window function. On the left you see a spectrogram generated by audacity and on the right my version. As you can see my version has a lot more