DAW Vocal Denoiser v1c

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.

Later versions: v1b (bigger GRU, best accuracy) · v1d (5 ms lookahead, same quality at half the CPU) · 🎧 Live A/B demo · 📋 Project board

Version 1c of the DAW Vocal Denoiser: same causal, real-time model (48 kHz, 10 ms algorithmic latency, 1.25M parameters), retrained with about four times more of my own singing. The goal of v1c is to see whether more in-domain vocals (my voice, my rooms, my mics) helps on real takes.

Trained on: the v1 data (about 39 minutes of my own vocal takes, the VocalSet singing dataset (CC BY 4.0), DNS Challenge clean speech + noise, simulated headphone bleed) plus 1,246 more of my own vocal takes (163.7 minutes of singing from 30 songs). Details below in Training data.

Status

Training is finished: a 47,079-step main run, then a 61,700-step extension (re-warmed to 3e-4, cosine to 1e-5) on an RTX 2060, for 108,779 steps in total, the same as v1. Held-out test results are below; the dev numbers follow them.

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), 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 after main run (47k steps) 23.05 23.65 2.97 3.96 0.513 50.3
v1c final (108,779 steps) 23.27 23.85 3.03 3.98 0.485 51.1

By voice, v1c final vs v1 (paired, mean ± 95% CI):

Voice SI-SDR (dB) SDR (dB) PESQ-WB ViSQOL
My voice (86 clips) +0.95 ± 0.67 +0.62 ± 0.57 +0.02 ± 0.02 +0.03 ± 0.02
Other singers, VocalSet (94 clips) -0.27 ± 0.27 -0.29 ± 0.24 -0.05 ± 0.02 -0.02 ± 0.04

What this shows: four times more of my own singing made the model specialize to my voice, mics and rooms. It is clearly better on my vocals and slightly worse on other singers, and it leaves clean takes more untouched (51.1 vs 45.6 dB pass-through). The extra training length mattered: after its main run alone, v1c was not yet better than v1. For other voices, v1 is still the better general-purpose choice. Training code, metrics and compare.py: GitHub.

Dev set

v1 v1c
Own vocal training data 38.8 min, 8 songs about 202 min, 38 songs
Training steps 108,773 108,779 (47,079 main + 61,700 extension)
Dev SI-SDR gain, published checkpoint +2.39 dB (step 77,000) +2.57 dB (step 108,779)
Peak dev SI-SDR gain during training +2.39 dB +2.59 dB (step 95,000)

The published checkpoint is the one with the lowest dev loss (step 108,779). With the same number of steps, v1c is +0.18 dB above v1 on the dev set. The main-run-only v1c checkpoint scored +2.25 dB at step 41,000.

Real-time property Value
Sample rate 48 kHz mono
Algorithmic latency 10 ms (32 ms analysis / 10 ms synthesis windows, 5 ms hop)
CPU per 5 ms block (ONNX Runtime, desktop CPU) 0.24 ms (real-time factor 0.048)
ONNX vs PyTorch parity 113.6 dB

Files

File What it is
daw_denoiser.onnx One-frame streaming model: magnitude [1, 1, 769] + GRU state [2, 1, 256] in, mask + new state out
daw_denoiser.pth PyTorch checkpoint (EMA weights, best dev checkpoint)
model.py Model definition and asymmetric-window STFT
stream.py Real-time block engine (240-sample blocks in and out)

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
y = process_file(x)

Docker

A CPU-only image (ONNX Runtime, no PyTorch) is on Docker Hub as stavion/daw-denoiser. Any sample rate, mono or stereo; output is 24-bit WAV at the input's rate.

# denoise a file in the current folder
docker run --rm -v "${PWD}:/data" stavion/daw-denoiser vocal.wav vocal_clean.wav

# or run it as a small HTTP service: POST audio to /denoise, get the cleaned WAV back
docker run --rm -p 8000:8000 stavion/daw-denoiser serve
curl -X POST --data-binary @vocal.wav http://localhost:8000/denoise -o vocal_clean.wav

To build it yourself, put daw_denoiser.onnx (from Hugging Face) next to the Dockerfile and run docker build -t daw-denoiser .. The container's output matches stream.py run directly (122 dB, limited by the 24-bit WAV output).

Model

Same as v1: asymmetric analysis/synthesis windows (Wang et al. 2021), compressed magnitude -> Linear -> LayerNorm -> 2-layer GRU (256) -> sigmoid magnitude mask, noisy phase kept. Same training recipe as v1 (compressed spectral loss + multi-resolution STFT, AdamW, warmup + cosine, EMA 0.999). Main run on an RTX 4060, extension on an RTX 2060. Training code: github.com/Stavion-Colquitt/Daw-Vocal-Denoiser-v1c.

Training data

Source Amount Split License
My own vocal takes (v1 set): takes from my recording sessions (not released) 38.8 min train (54 takes, 8 songs) By song: Mad = dev, Say Dat Name = test Mine
My own vocal takes (added in v1c): recorded takes on vocal tracks across my Ableton sessions, deduplicated, takes under 1 s skipped 1,246 takes, 163.7 min, 30 songs Train only; the dev and test songs are excluded Mine
VocalSet (Wilkins et al., ISMIR 2018) about 10 h before trimming By singer, as in v1 CC BY 4.0
DNS Challenge fullband clean speech (subset) 13,733 clips, about 9.6 h 5% held out for dev Per source, see the DNS repo
DNS Challenge fullband noise (subset) 8,000 clips, about 20.5 h 5% held out for dev Per source, see the DNS repo
Headphone bleed: my own instrumentals, high-passed 5 songs Mine
Synthetic: room impulse responses, random EQ, white/pink hiss, 50/60 Hz hum generated per example

Mixing is the same as v1: SNR 0 to 40 dB, 10% clean-only examples, 30% get a synthetic room applied to input and target alike. 48 kHz mono throughout. No commercial sample packs.

Intended use and limits

  • For monitoring and cleaning vocal takes (singing or speech) recorded in untreated rooms.
  • Removes noise, not reverb.
  • Not tested on heavy distortion or extreme SNR (below 0 dB); very loud bleed can survive.
  • Mono, 48 kHz. Resample other rates first.
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

Space using Stavion-Colquitt/DAW_Vocal_Denoiser_v1c 1