microsoft / MS-SNSD

The Microsoft Scalable Noisy Speech Dataset (MS-SNSD) is a noisy speech dataset that can scale to arbitrary sizes depending on the number of speakers, noise types, and Speech to Noise Ratio (SNR) levels desired.
MIT License
468 stars 142 forks source link

Maybe something wrong in audiolib.py #9

Closed Liu-1994 closed 4 years ago

Liu-1994 commented 4 years ago

For the function def snr_mixer(clean, noise, snr) in the audiolib.py file, I think there is something wrong. First, line 66 code: Function np.sqrt( ) may be unnecessary. Second, as clean and noise have been normalized to -25 dBFS, noisescalar may not need to be calculated using rmsclean and rmsnoise.

chandanka90 commented 4 years ago

Fixed the bug