DAW Vocal Denoiser v1e

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.

Known issue: training-data leak (found Nov 25, 2026). The DNS clean-speech folder I used contained an unsplit copy of VocalSet. About 334 of the 360 files from the two held-out VocalSet test singers (female9, male11) ended up on the training side, so the VocalSet half of the held-out test was not fully unseen. My own voice is not affected: it is held out by song. About a quarter of the speech training pool was VocalSet.

It barely changed the results. I retrained v1 with the VocalSet copy removed (v1_clean) and scored both models on the same held-out clips. SI-SDR changed by -0.15 ± 0.24 dB on VocalSet singers and -0.12 ± 0.45 dB on my own voice, and PESQ and ViSQOL moved by 0.02 or less. The VocalSet drop was only 0.03 dB larger than the own-voice drop (±0.51), and every interval includes zero. So there is no measurable evidence that the leak inflated the numbers.

Limits of that check: one retrain and one seed, so a small effect cannot be ruled out; only v1 was retrained (v1b to v1e were not); 17 of the 180 noisy clips were not scored. The tables on this card are the original numbers and have not been changed. Full audit and the fix: GitHub.

💻 Code on GitHub · 🎧 Live demo · Other versions: v1, v1c, v1b, v1d

Version 1e of my DAW Vocal Denoiser puts the two best changes together: v1b's bigger model (GRU 384, 2.51M parameters) plus v1d's 5 ms of lookahead (15 ms algorithmic latency), on v1c's data and the same 108,779 training steps. The question v1e asks: do a bigger model and lookahead stack?

Held-out test

180 noisy clips (+ 20 clean pass-through clips) held out by song (my voice) and by singer (VocalSet, partly seen in training, see the leak note above): 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_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
v1e (GRU 384 + lookahead) 23.45 24.08 3.12 4.00 0.445 53.1

v1e paired against the versions it combines (mean ± 95% CI over clips; bold = the interval excludes zero):

Comparison SI-SDR (dB) SDR (dB) PESQ-WB ViSQOL
v1e vs v1b (adds lookahead), all 180 clips -0.01 ± 0.21 +0.01 ± 0.17 +0.02 ± 0.02 +0.00 ± 0.02
v1e vs v1d (adds GRU 384), all 180 clips +0.01 ± 0.19 +0.05 ± 0.17 +0.02 ± 0.02 +0.01 ± 0.02
v1e vs v1d, my voice (86 clips) -0.02 ± 0.20 +0.07 ± 0.21 +0.02 ± 0.02 +0.01 ± 0.01
v1e vs v1c (both changes), all 180 clips +0.18 ± 0.22 +0.23 ± 0.19 +0.09 ± 0.02 +0.02 ± 0.02

VocalSet rows are subject to the leak described above. All versions share the same leak, so version-to-version differences are less affected.

What this shows: the two changes do not stack on SI-SDR. v1e ties v1b and v1d on waveform accuracy, which suggests this architecture has plateaued around 23.4-23.5 dB on this test. v1e does edge ahead on the perceptual metrics (best PESQ, ViSQOL and MERT-MSE of any version; PESQ +0.02 over v1b is significant) and leaves clean takes the most untouched of any version (53.1 dB pass-through, vs 47.6 for v1b and 50.5 for v1d), which is what matters most when it runs on a live tracking chain. The cost is v1b's CPU and file size plus v1d's 15 ms latency. On my own voice, v1e is +1.03 ± 0.50 dB SI-SDR over v1 (the extra own-vocal data at work); on other singers it matches v1.

Dev set and real-time

v1 v1c v1b v1d v1e
GRU width 256 256 384 256 384
Algorithmic latency 10 ms 10 ms 10 ms 15 ms 15 ms
Training steps 108,773 108,779 108,779 108,779 108,779
Dev SI-SDR gain, published checkpoint +2.39 dB +2.57 dB +2.79 dB +2.78 dB +2.82 dB

Published checkpoint: step 103,000 (lowest dev loss, +2.82 dB; +2.83 dB at the last step). Training: about 9 h on an RTX 4060 across five sessions, Nov 22-23, 2026 (resumed from saved checkpoints after pauses, nothing lost).

Real-time property Value
Algorithmic latency 15 ms (10 ms windows + one 5 ms hop of lookahead)
CPU per 5 ms block (ONNX Runtime, desktop CPU) 0.26-0.32 ms (real-time factor 0.05-0.07)
ONNX vs PyTorch parity (streaming engine) 107.5 dB
Parameters 2,514,435
ONNX file 10.1 MB

What changed

  • Model: v1b's GRU 384 (2.51M parameters).
  • Lookahead: v1d's one frame (5 ms): the mask for frame t comes from the GRU after it has heard frame t+1, and the streaming engine holds each spectrum one hop until its mask arrives. test_lookahead.py confirms the output depends on input exactly one hop ahead and no further.
  • Data and training: v1c's data (v1 data plus 1,246 extra takes of my own singing), 108,779 steps from scratch; data loader workers 4 instead of 2 (faster, same data).
  • Code: DAW_HIDDEN defaults to 384 and DAW_LOOKAHEAD to 1 in this repo's model.py and stream.py, so the engine runs this model correctly 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, 15 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:v1e. 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:v1e vocal.wav vocal_clean.wav

docker run --rm -p 8000:8000 stavion/daw-denoiser:v1e serve
curl -X POST --data-binary @vocal.wav http://localhost:8000/denoise -o vocal_clean.wav

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.

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.
  • 15 ms of algorithmic latency (like v1d) at v1b's CPU cost: about twice v1d's CPU per block.

Evaluation details

Metric definitions, references and the full per-clip results are in the GitHub repo (results/).

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support