Closed rafaelvalle closed 6 years ago
Hi Rafael, thanks for pointing this out!
The purpose of the offset is to eliminate some of the variation in quiet parts of the spectrogram. It seems like it would be useful to apply it in both melspectrogram and spectrogram, so I think this is an unintentional oversight. Please feel free to send a PR to add it melspectrogram.
Got it. That's a nice trick! I sent you a PR already.
Hey Keith! Thanks for your work.
It looks like the normalization of the Spectrogram is different from the normalization of the Mel-Spectrogram, i.e. there's a difference in offset by ref_level_db.
Is that intentional? If so, why?