DAW Vocal Denoiser v1b
AI disclosure: This project was built with AI assistance (Claude, by Anthropic) for writing code and documentation. All creative and technical decisions (model design, training data, evaluation) are mine, and I reviewed everything before publishing.
💻 Code on GitHub · 🎧 Live demo · v1: DAW_Vocal_Denoiser · v1c: DAW_Vocal_Denoiser_v1c
Version 1b of my DAW Vocal Denoiser: v1c's exact recipe (same data, same 108,779 steps) with one change, a wider GRU (384 instead of 256 units, 2.5M parameters). Still causal and real time at 48 kHz with 10 ms algorithmic latency. The question v1b asks: does a bigger model help more than more data did?
Held-out test
180 noisy clips (+ 20 clean pass-through clips) that no version trained on: my held-out song Say Dat Name (86 clips)
and held-out VocalSet singers (94 clips), mixed with dev-split noise at 0-40 dB SNR from a fixed seed. Every version
runs on exactly the same clips through the streaming engine (compare.py / compare_multi.py), so differences are paired.
| Version | SI-SDR (dB) | SDR (dB) | PESQ-WB | ViSQOL | FAD-MERT (lower better) | Clean pass-through SI-SDR (dB) |
|---|---|---|---|---|---|---|
| Noisy input | 19.04 | 19.02 | 2.37 | 3.53 | 1.732 | |
| v1 | 22.95 | 23.70 | 3.05 | 3.97 | 0.419 | 45.6 |
| v1c | 23.27 | 23.85 | 3.03 | 3.98 | 0.485 | 51.1 |
| v1b (GRU 384) | 23.46 | 24.07 | 3.10 | 3.99 | 0.448 | 47.6 |
| v1d (5 ms lookahead) | 23.43 | 24.03 | 3.11 | 3.99 | 0.446 | 50.5 |
v1b vs v1c, paired (mean ± 95% CI; bold = excludes zero):
| Clips | SI-SDR (dB) | SDR (dB) | PESQ-WB | ViSQOL |
|---|---|---|---|---|
| All 180 clips | +0.19 ± 0.25 | +0.22 ± 0.22 | +0.07 ± 0.02 | +0.01 ± 0.02 |
| My voice (86 clips) | -0.03 ± 0.45 | +0.08 ± 0.39 | +0.08 ± 0.02 | +0.02 ± 0.01 |
| Other singers, VocalSet (94 clips) | +0.38 ± 0.24 | +0.35 ± 0.23 | +0.06 ± 0.02 | +0.01 ± 0.03 |
What this shows: the bigger model is the most accurate version so far (best SI-SDR and SDR) and is clearly better than v1c on predicted quality (PESQ, all voices). The clearest gain is on other singers: v1c had traded some VocalSet accuracy for my voice, and v1b wins it back (+0.38 dB SI-SDR on VocalSet, interval above zero) without losing anything on my voice. The costs: about 2x the CPU per block of v1c, a 10 MB model instead of 5 MB, and it touches clean takes a little more (47.6 vs 51.1 dB pass-through). Its sibling v1d (v1c size plus 5 ms lookahead) scores the same within error at half the CPU.
Dev set and real-time
| v1 | v1c | v1b | v1d | |
|---|---|---|---|---|
| GRU width | 256 | 256 | 384 | 256 |
| Algorithmic latency | 10 ms | 10 ms | 10 ms | 15 ms |
| Training steps | 108,773 | 108,779 | 108,779 | 108,779 |
| Dev SI-SDR gain, published checkpoint | +2.39 dB | +2.57 dB | +2.79 dB | +2.78 dB |
Published checkpoint: +2.79 dB (step 100,000, lowest dev loss). Training time: 7.7 h on an RTX 5070, Nov 18 to 19, 2026.
| Real-time property | Value |
|---|---|
| Algorithmic latency | 10 ms (32 ms analysis / 10 ms synthesis windows, 5 ms hop) |
| CPU per 5 ms block (ONNX Runtime, desktop CPU) | 0.47 ms (real-time factor 0.094) |
| ONNX vs PyTorch parity (streaming engine) | 113.0 dB |
| Parameters | 2,514,435 |
| ONNX file | 10.1 MB |
What changed from v1c
- Model: GRU width 256 -> 384 (1.25M -> 2.51M parameters). Everything else (asymmetric 32 ms / 10 ms windows, compressed magnitude input, sigmoid magnitude mask, noisy phase kept) is unchanged.
- Data and training: identical to v1c (v1 data plus about 202 minutes of my own singing; 108,779 steps from scratch, AdamW, EMA 0.999). Trained on an RTX 5070.
- Code:
DAW_HIDDENdefaults to 384 inmodel.pyandstream.py, so the engine loads this model with no settings.
Files
| File | What it is |
|---|---|
daw_denoiser.onnx |
One-frame streaming model for ONNX Runtime (the host keeps the GRU state) |
daw_denoiser.pth |
PyTorch weights (EMA) for model.StreamDenoiser |
model.py |
Model definition (training code is on GitHub) |
stream.py |
Real-time engine: numpy + onnxruntime only |
Usage
# pip install onnxruntime numpy
from stream import StreamEngine # expects daw_denoiser.onnx next to it
eng = StreamEngine()
y_block = eng.process(x_block) # float32[240] at 48 kHz -> 240 denoised samples, 10 ms later
from stream import process_file # offline: whole mono 48 kHz array in, denoised array out (time-aligned)
y = process_file(x)
Docker
A CPU-only image (ONNX Runtime, no PyTorch) is on Docker Hub as stavion/daw-denoiser:v1b.
Any sample rate, mono or stereo; output is 24-bit WAV at the input's rate.
docker run --rm -v "${PWD}:/data" stavion/daw-denoiser:v1b vocal.wav vocal_clean.wav
docker run --rm -p 8000:8000 stavion/daw-denoiser:v1b serve
curl -X POST --data-binary @vocal.wav http://localhost:8000/denoise -o vocal_clean.wav
The container's output matches stream.py run directly (122.5 dB, limited by the 24-bit WAV output).
Training data and licenses
| Source | License |
|---|---|
| My own vocal takes and instrumentals | Mine (not distributed) |
| VocalSet (Wilkins et al., ISMIR 2018) | CC BY 4.0 |
| DNS Challenge fullband speech and noise (subsets) | Per source, see the DNS repo |
No commercial sample packs. Code is MIT licensed (see LICENSE).
Limits
- For monitoring and cleaning vocal takes (singing or speech) recorded in untreated rooms.
- Removes noise, not reverb. Mono, 48 kHz only (resample other rates first).
- Not tested on heavy distortion or SNR below 0 dB; very loud headphone bleed can survive.
Evaluation details
Metric definitions, references and the full per-clip results are in the GitHub repo (results/).