Transformer-TTS icon indicating copy to clipboard operation
Transformer-TTS copied to clipboard

About Mel spectrogram normalization

Open Jesper-Jung opened this issue 3 years ago • 0 comments

Dear soobinseo, Thanks for your wonderful work. I have a one question about your mel-spectrogram normalization method, after I look carefully at your work.

From util.py,

# normalize
mel = np.clip((mel - hp.ref_db + hp.max_db) / hp.max_db, 1e-8, 1)
mag = np.clip((mag - hp.ref_db + hp.max_db) / hp.max_db, 1e-8, 1)

Could you explain about a reference dB(ref_db)? Is meaning of that related to reference value of sound pressure level?

Jesper-Jung avatar Jul 10 '21 23:07 Jesper-Jung