https://github.com/florianriche/AudioFingerPrinting/blob/master/Fra_part_Spectrogram/audiofinger/STFT.java#L99-L110