Skip to content

This repo contains the scripts, models, and required files for the Deep Noise Suppression (DNS) Challenge.

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE
Notifications You must be signed in to change notification settings

OscarLiau/DNS-Challenge

 
 

Deep Noise Suppression (DNS) Challenge - INTERSPEECH 2021

This repository contains the datasets and scripts required for the DNS challenge. For more details about the challenge, please see our paper and the challenge website. For more details on the testing framework, please visit P.835.

Repo details:

  • The datasets directory contains the clean speech, noise and room impulse responses for creating training data for wideband scenario. It also contains the test set that participants can use during the development stages.
  • The datasets_fullband directory contains the clean speech, noise and room impulse responses for creating training data for fullband scenario.
  • The NSNet2-baseline directory contains the inference scripts and the ONNX model for the baseline Speech Enhancement method for wideband.
  • dns_challenge_data_downloader - this is the script to download the data if you are not able to clone the entire repo or if it is too slow. Please send us an email requesting the SAS_URL to be used in the script.
  • noisyspeech_synthesizer_singleprocess.py - is used to synthesize noisy-clean speech pairs for training purposes.
  • noisyspeech_synthesizer.cfg - is the configuration file used to synthesize the data. Users are required to accurately specify different parameters and provide the right paths to the datasets required to synthesize noisy speech.
  • audiolib.py - contains modules required to synthesize datasets.
  • utils.py - contains some utility functions required to synthesize the data.
  • unit_tests_synthesizer.py - contains the unit tests to ensure sanity of the data.
  • requirements.txt - contains all the libraries required for synthesizing the data.

Prerequisites

  • Python 3.0 and above
  • Soundfile (pip install pysoundfile), librosa

Usage:

  1. Install librosa
pip install librosa
  1. Install Git Large File Storage for faster download of the datasets.
git lfs install
git lfs track "*.wav"
git add .gitattributes
  1. Clone the repository.
git clone https://github.com/microsoft/DNS-Challenge DNS-Challenge
  1. Edit noisyspeech_synthesizer.cfg to specify the required parameters described in the file and include the paths to clean speech, noise and impulse response related csv files. Also, specify the paths to the destination directories and store the logs.
  2. Create dataset
python noisyspeech_synthesizer_singleprocess.py

Citation:

If you use this dataset in a publication please cite the following paper:

@article{reddy2021interspeech,
  title={Interspeech 2021 Deep Noise Suppression Challenge},
  author={Reddy, Chandan KA and Dubey, Harishchandra and Koishida, Kazuhito and Nair, Arun and Gopal, Vishak and Cutler, Ross and Braun, Sebastian and Gamper, Hannes and Aichner, Robert and Srinivasan, Sriram},
  journal={arXiv preprint arXiv:2101.01902}
}

The baseline NSNet noise suppression:

@INPROCEEDINGS{9054254, 
author={Y. {Xia} and S. {Braun} and C. K. A. {Reddy} and H. {Dubey} and R. {Cutler} and I. {Tashev}}, 
booktitle={ICASSP 2020 - 2020 IEEE International Conference on Acoustics, 
Speech and Signal Processing (ICASSP)}, 
title={Weighted Speech Distortion Losses for Neural-Network-Based Real-Time Speech Enhancement}, 
year={2020}, volume={}, number={}, pages={871-875},}
@misc{braun2020data,
    title={Data augmentation and loss normalization for deep noise suppression},
    author={Sebastian Braun and Ivan Tashev},
    year={2020},
    eprint={2008.06412},
    archivePrefix={arXiv},
    primaryClass={eess.AS}
}

The P.835 test framework:

@article{naderi2020crowdsourcing,
  title={A crowdsourcing extension of the itu-t recommendation p. 835 with validation},
  author={Naderi, Babak and Cutler, Ross},
  journal={arXiv preprint arXiv:2010.13200},
  year={2020}
}

DNSMOS API:

@article{reddy2020dnsmos,
  title={DNSMOS: A Non-Intrusive Perceptual Objective Speech Quality metric to evaluate Noise Suppressors},
  author={Reddy, Chandan KA and Gopal, Vishak and Cutler, Ross},
  journal={arXiv e-prints},
  pages={arXiv--2010},
  year={2020}
}

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.

Dataset licenses

MICROSOFT PROVIDES THE DATASETS ON AN "AS IS" BASIS. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, GUARANTEES OR CONDITIONS WITH RESPECT TO YOUR USE OF THE DATASETS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAW, MICROSOFT DISCLAIMS ALL LIABILITY FOR ANY DAMAGES OR LOSSES, INLCUDING DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, INCIDENTAL OR PUNITIVE, RESULTING FROM YOUR USE OF THE DATASETS.

The datasets are provided under the original terms that Microsoft received such datasets. See below for more information about each dataset.

The datasets used in this project are licensed as follows:

  1. Clean speech:
  1. Noise:
  1. RIR datasets: OpenSLR26 and OpenSLR28:

Code license

MIT License

Copyright (c) Microsoft Corporation.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

About

This repo contains the scripts, models, and required files for the Deep Noise Suppression (DNS) Challenge.

Resources

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published