File size: 1,782 Bytes
e1b6068
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
license: apache-2.0
library_name: audiosronnx
pipeline_tag: audio-to-audio
tags:
  - speech-enhancement
  - denoising
  - noise-suppression
  - streaming
  - onnx
---

# audiosronnx-dpdfnet

ONNX weights for the **`dpdfnet`** denoise engine in
[audiosronnx](https://github.com/TigreGotico/audiosronnx) — a mirror of
[Ceva-IP/DPDFNet](https://huggingface.co/Ceva-IP/DPDFNet) (Apache-2.0), pinned so the
library can resolve a fixed revision.

DPDFNet (*Dual-Path RNN-based DeepFilterNet*) is a streaming speech denoiser built on
DeepFilterNet2. Each graph is stateful and consumes one STFT frame at a time:

```
spec[1, 1, F, 2], state[S]  ->  spec_e[1, 1, F, 2], state[S]
```

The Vorbis-windowed STFT/ISTFT runs in numpy inside audiosronnx, so inference is
onnxruntime-only — no torch, and no `libdf` (unlike the DeepFilterNet3 engine).

| File | Rate | Size |
|------|------|------|
| `baseline.onnx` | 16 kHz | 8.7 MB |
| `dpdfnet2.onnx` | 16 kHz | 10.2 MB |
| `dpdfnet4.onnx` | 16 kHz | 11.6 MB |
| `dpdfnet8.onnx` | 16 kHz | 14.5 MB |
| `dpdfnet2_8khz.onnx` | 8 kHz | 10.2 MB |
| `dpdfnet8_8khz.onnx` | 8 kHz | 14.6 MB |
| `dpdfnet2_48khz_hr.onnx` | 48 kHz | 10.5 MB |
| `dpdfnet8_48khz_hr.onnx` | 48 kHz | 14.9 MB |

The adapter reproduces the upstream reference implementation to **max abs err 1.7e-8**
(correlation 1.000000) on identical input.

## Usage

```python
from audiosronnx import load_denoise

dn = load_denoise("dpdfnet")                          # dpdfnet2_48khz by default
clean, rate = dn.denoise("noisy_call.wav")

dn = load_denoise("dpdfnet", model="dpdfnet8")        # 16 kHz, highest quality
dn = load_denoise("dpdfnet", attn_limit_db=12)        # keep a natural noise floor
```

## License

Apache-2.0, inherited from the upstream DPDFNet release.