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

Replace sf.read with librosa.load to load correct sr based on config … #24

Open mrbraden56 opened 2 years ago

mrbraden56 commented 2 years ago

audiolib.py line 18 used sf.read() which ignored the specified sr rate the user wanted in the config. I replaced sf.read() with librosa.load(sr = config['sr']) so that the audio file is loaded with the user specified sr.

ghost commented 2 years ago

CLA assistant check
All CLA requirements met.