DEV Community

Cover image for Denoise Before or After Stem Separation? We Measured Both Orders
Formavide
Formavide

Posted on Edited on Originally published at formavide.com

Denoise Before or After Stem Separation? We Measured Both Orders

Mixing forums all give the same answer: clean the audio first, then split it. We decided to check that with actual numbers — same noisy file, both pipeline orders, run end to end in the browser. The conventional wisdom survived. The interesting part was why the other order fails.

Denoise before you split — locally, no upload →

The test

One 60-second clip of a produced pop song — clear lead vocal over a full band mix. Into it we mixed a broadband pink-noise floor, loud enough to hear as obvious hiss: the stand-in for hiss-ridden transfers, noisy phone rips, live ambience. Then both routes, through our browser tools (fast 2-stem separation, DeepFilterNet3 denoise), nothing uploaded:

  • Route A — denoise first, then split: noisy mix → denoiser → vocal splitter
  • Route B — split first, then denoise: noisy mix → splitter → denoiser on the resulting vocal stem

For measurement: energy above 7 kHz as the hiss proxy (where broadband noise lives), the 300–3400 Hz band as the voice-content window.

What the numbers say

Vocal stem, hiss band: Route A ended at −52.2 dB, Route B at −48.5 dB. Pre-denoising wins by 3.7 dB — not lab-scale, but audible territory.

Instrumental stem, hiss band: Route A −56.9 dB vs Route B −46.4 dB. A 10.5 dB no-contest — whatever noise survives the denoiser gets stamped into the accompaniment wholesale, which matters a lot if you're making a karaoke backing.

And the one that surprised us: the after-the-fact denoise in Route B moved the hiss band by 0.2 dB — split-only was −48.7 dB, split-then-denoise −48.5 dB. Within the margin of the measurement itself. A whole extra processing pass, accomplishing nothing.

The cost of pre-denoising: the A-route vocal carries 3.6 dB less energy in the voice band. The denoiser, running on the full mix, shaved some vocal content along with the noise floor. Cleaner, slightly thinner — a make-up gain usually settles it.

Time: 199 s vs 193 s total for the clip. The order is free to choose.

Why the late denoise does nothing

A noise-reduction model is a speech protector. It learned what human voice looks like in a spectrogram, and it is deliberately conservative about eating anything voice-like. A separator, meanwhile, is a tile-by-tile guesser: when it assigns a noisy tile to the vocal, that noise stops being noise floor and becomes content of the vocal stem — phase-coherent with the voice, sitting inside the voice band.

By the time Route B's stem reaches the denoiser, the hiss has been laundered into the vocal. The denoiser sees exactly what it was trained to protect, and leaves it alone. Your 0.2 dB "improvement" is its way of shrugging. The ordering rule isn't folklore — it falls straight out of what each model assumes about its input. (Same mechanism is why separation artifacts read as vocal texture and refuse to denoise away later.)

The practical version

  • You want the vocal (cover, remix, sample): denoise first, accept the small level loss.
  • You want the backing: denoise first — the instrumental is where pre-split noise survives loudest.
  • Source already clean: skip the denoiser. Every extra pass taxes the audio; there's nothing to win.
  • Noise is tonal (hum, whine) rather than hiss: we measured broadband noise; the order logic should hold, the exact margins won't. Run your own file both ways — local processing means a retry costs seconds, not credits.

One honest caveat: one track, one noise level, band energy as a proxy, not a listening test. The direction and the 0.2 dB shrug are the durable findings; trust your ears on your own material.

Quick answers

  • Before or after? Before. 3.7 dB cleaner vocal, 10.5 dB cleaner instrumental, and the reverse order's denoise pass moved the needle by 0.2 dB.
  • Why doesn't denoising the isolated vocal work? The separator promotes noise tiles into vocal content; the denoiser then protects it — protecting vocal content is its job.
  • Does pre-denoising hurt the vocal? Slightly: 3.6 dB less voice-band energy, mostly a level issue. Compensate with gain.
  • Very noisy recording? Both orders degrade — the separator mis-guesses more, the denoiser removes more content. A better source file beats any pipeline order.

Clean the noise before you split — free, no upload →

Both tools run on your device — files never leave the browser. Free daily quota, no sign-up to try.

Top comments (0)