pseeth/torch-stft

Spectrogram quality

Closed this issue · 2 comments

Hi,
I've testing your code and it reconstruct your stft.
I'm afraid this is librosa stft
image

And this is the spectrogram computed with this method
image

Well, to be constructive you can fix it with the hanning window from scipy
scipy.signal.get_window("hanning", nfft)

These should be the same now, within some margin of error. Still having an issue with getting the phases to match perfectly though.