AI powered speech denoising and enhancement
AI powered speech denoising and enhancement
https://github.com/resemble-ai/resemble-enhance/assets/660224/bc3ec943-e795-4646-b119-cce327c810f1
Resemble Enhance is an AI-powered tool that aims to improve the overall quality of speech by performing denoising and enhancement. It consists of two modules: a denoiser, which separates speech from a noisy audio, and an enhancer, which further boosts the perceptual audio quality by restoring audio distortions and extending the audio bandwidth. The two models are trained on high-quality 44.1kHz speech data that guarantees the enhancement of your speech with high quality.
Install the stable version:
pip install resemble-enhance --upgradeOr try the latest pre-release version:
pip install resemble-enhance --upgrade --preresemble-enhance in_dir out_dirresemble-enhance in_dir out_dir --denoise_onlyWe provide a web demo built with Gradio, you can try it out here, or also run it locally:
python app.pyYou need to prepare a foreground speech dataset and a background non-speech dataset. In addition, you need to prepare a RIR dataset (examples).
data
├── fg
│ ├── 00001.wav
│ └── ...
├── bg
│ ├── 00001.wav
│ └── ...
└── rir
├── 00001.npy
└── ...Though the denoiser is trained jointly with the enhancer, it is recommended for a warmup training first.
python -m resemble_enhance.denoiser.train --yaml config/denoiser.yaml runs/denoiserThen, you can train the enhancer in two stages. The first stage is to train the autoencoder and vocoder. And the second stage is to train the latent conditional flow matching (CFM) model.
python -m resemble_enhance.enhancer.train --yaml config/enhancer_stage1.yaml runs/enhancer_stage1python -m resemble_enhance.enhancer.train --yaml config/enhancer_stage2.yaml runs/enhancer_stage2Learn more on our website!
No open issues yet, or sync has not completed.