Rikorose /DeepFilterNet

Noise supression using deep filtering

★ 5,025⑂ 555👁 46⑃ 361● 353▤ 18
PythonNOASSERTIONCreated 2021-10-10huggingface.co/spaces/hshr/DeepFilterNet2
下载:v0.5.6v0.5.6 ↓0.5.62023-08-31
+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

Latest release

v0.5.6 v0.5.6 2023-08-31
Fixes 421 and 293

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON