+5
日增长
5,025
stars
555
forks
46
watchers
361
prs
353
issues
18
releases
README
DeepFilterNet
A Low Complexity Speech Enhancement Framework for Full-Band Audio (48kHz) using on Deep Filtering.
!deepfilternet3
For PipeWire integration as a virtual noise suppression microphone look here.
Demo
https://github.com/Rikorose/DeepFilterNet/assets/16517898/79679fd7-de73-4c22-948c-891927c7d2ca
To run the demo (linux only) use:
bash
cargo +nightly run -p df-demo --features ui --bin df-demo --release
News
- New DeepFilterNet Demo: DeepFilterNet: Perceptually Motivated Real-Time Speech Enhancement
- Paper: https://arxiv.org/abs/2305.08227
- Video: https://youtu.be/EO7n96YwnyE
- New Multi-Frame Filtering Paper: Deep Multi-Frame Filtering for Hearing Aids
- Paper: https://arxiv.org/abs/2305.08225
- Real-time version and a LADSPA plugin
- Pre-compiled binary, no python dependencies. Usage: deep-filter audio-file.wav
- LADSPA plugin with pipewire filter-chain integration for real-time noise reduction on your mic.
- DeepFilterNet2 Paper: DeepFilterNet2: Towards Real-Time Speech Enhancement on Embedded Devices for Full-Band Audio
- Paper: https://arxiv.org/abs/2205.05474
- Samples: https://rikorose.github.io/DeepFilterNet2-Samples/
- Demo: https://huggingface.co/spaces/hshr/DeepFilterNet2
- Original DeepFilterNet Paper: DeepFilterNet: A Low Complexity Speech Enhancement Framework for Full-Band Audio based on Deep Filtering
- Paper: https://arxiv.org/abs/2110.05588
- Samples: https://rikorose.github.io/DeepFilterNet-Samples/
- Demo: https://huggingface.co/spaces/hshr/DeepFilterNet
- Video Lecture: https://youtu.be/it90gBqkY6k
Usage
deep-filter
Download a pre-compiled deep-filter binary from the release page.
You can use deep-filter to suppress noise in noisy .wav audio files. Currently, only wav files with a sampling rate of 48kHz are supported.
bash
USAGE:
deep-filter [OPTIONS] [FILES]...
ARGS:
...
OPTIONS:
-D, --compensate-delay
Compensate delay of STFT and model lookahead
-h, --help
Print help information
-m, --model
Path to model tar.gz. Defaults to DeepFilterNet2.
-o, --out-dir
[default: out]
--pf
Enable postfilter
-v, --verbose
Logging verbosity
-V, --version
Print version information
If you want to use the pytorch backend e.g. for GPU processing, see further below for the Python usage.
DeepFilterNet Framework
This framework supports Linux, MacOS and Windows. Training is only tested under Linux. The framework is structured as follows:
libDF contains Rust code used for data loading and augmentation.
DeepFilterNet contains DeepFilterNet code training, evaluation and visualization as well as pretrained model weights.
pyDF contains a Python wrapper of libDF STFT/ISTFT processing loop.
pyDF-data contains a Python wrapper of libDF dataset functionality and provides a pytorch data loader.
ladspa contains a LADSPA plugin for real-time noise suppression.
models contains Top issues
#246Noise suppression fine tune8 comments · 2023-01-31#302Android version for DeepFilterNet6 comments · 2023-04-14#698poor results on narrowband communications speech4 comments · 2026-07-23#259Real-Time microphone desnoising for Windows4 comments · 2023-02-16#210Run ERB decoder and DF decoder in parallel4 comments · 2022-12-12#694That ...2 comments · 2026-06-20#712Do the MIT/Apache-2.0 terms cover the released checkpoints?1 comments · 2026-09-21#704PyPI 0.5.6 cannot export (jit), and torchaudio needs soundfile on Windows1 comments · 2026-08-14
Latest release
v0.5.6 v0.5.6 2023-08-31Fixes 421 and 293