Neural-Speech-Dereverberation icon indicating copy to clipboard operation
Neural-Speech-Dereverberation copied to clipboard

Regarding reconstructing waveforms from normalized predicted spectrograms

Open shashank2896 opened this issue 2 years ago • 1 comments

Hello, I went through your code for Speech dereverberation, and I find it really useful and helpful for a project I'm working on, thanks a ton for that!

I had one doubt though, I have seen that your predicted audio looks clean in spectrograms, but I can't find code to convert these predicted normalized spectrograms back into audio waveforms. I see a utils function called reconstruct_wave but that seems to be for unnormalized spectrogram inversion.

Since you send in normalized spectrograms as your input and output to train your model, I'm guessing the predicted spectrograms while evaluation would be normalized too. So in that case, how do I un-normalize these predicted spectrograms, and then invert them? Or am I missing something obvious in these inversions?

If you could help me with this, it'll be really helpful for my project. Please reach out to me at [email protected] or just answer here, if you are happy clearing my doubt!

Looking forward to hearing from you

Thanks and Regards

shashank2896 avatar Sep 19 '21 21:09 shashank2896