>>
Speech denoising for interviews and podcasts. Removes hum, fan and hiss. Runs on your machine — the audio never leaves it.
Get the commercial licence $19 one-time · no subscriptionPersonal use is free. Install it from PyPI at no cost — your own recordings, study, teaching, hobby projects with no revenue.
pip install speech-denoise
You need the $19 licence when the output is part of work you are paid for: client projects, a podcast or channel that earns money, audio for a product you sell, anything done as part of a job. Same code either way.
That is what this does. Steady noise only — hum, hiss, fans, air conditioning, codec artefacts. It does not touch reverb, and it cannot separate two people talking over each other.
Spectral subtraction removes noise by subtracting an estimate from every time-frequency bin. Push it hard and it also removes the quiet parts of speech — the consonants, the breath before a word. The noise is gone, the words are mushy. People call it muddy, and it is the single most common complaint about free denoisers.
This one is tuned not to do that. The cost is that it removes a little less noise.
Four real recordings (two male, two female), six noise conditions, scored with STOI, an intelligibility metric where higher means the words are easier to follow.
| Noise condition | ΔSTOI | Noise floor |
|---|---|---|
| Mains hum, 5 dB SNR | +0.0228 | −22.9 dB |
| White noise, 5 dB SNR | +0.0227 | −9.1 dB |
| Fan / air conditioning, 5 dB | +0.0086 | −8.8 dB |
| Hiss, 5 dB SNR | +0.0084 | −8.9 dB |
| Codec artefacts, 15 dB | +0.0034 | −7.7 dB |
| Reverb, 0.6 s | −0.0028 | −5.5 dB |
Worst case across all 24: −0.0138. Best: +0.0432. Seven were unchanged within noise. None got worse.
That last number is the point. A denoiser that raises noise reduction by 6 dB but drops STOI by 0.06 is making your recording harder to understand. An earlier build of this tool did exactly that — it used a 2.0× over-subtraction factor, removed 20.9 dB of hum, and dropped STOI by 0.063. On clean input it dropped STOI by 0.121, damaging files that needed no processing at all. The current build uses 1.0×.
pip install speech-denoise
speech-denoise recording.wav
Video input works too — drop in an .mp4 and the audio track is extracted automatically
(needs ffmpeg on PATH).
The denoising engine ships as machine code. Same output as 1.x —
verified sample-identical, max difference 0.000000, correlation 1.000000
— but the tuning constants and filter chain are no longer in a
readable .py file.
1.x was plain Python. Anyone could open it, read the two numbers that made it work, and republish it. 2.0 still runs on your machine, still works offline, and no longer hands over the recipe.
One command from a raw recording to a file you can upload.
speech-denoise --podcast episode.wav
Removes the noise, then runs a two-pass loudness normalisation to −16 LUFS integrated / −1.5 dBTP true peak — the delivery spec Spotify, Apple Podcasts and YouTube all accept. Output is 48 kHz FLAC, 24-bit.
| Input | Time | Output loudness |
|---|---|---|
| 12 s | 3.1 s | −16.4 LUFS, −1.5 dBTP |
| 5 min | 10.9 s | −16.1 LUFS, −1.5 dBTP |
| 30 min | 44 s | −16.1 LUFS, −1.5 dBTP |
Loudness lands within 0.1–0.4 LU of target. Needs ffmpeg on
PATH, or set FFMPEG_PATH to a specific binary.
Without the flag it behaves as before: denoise only, write a wav, leave loudness alone.
Every run ends with a verdict: ALREADY_CLEAN, GOOD, MILD,
CAUTION or LITTLE. On the 24-combination set, the two reverb cases report
ALREADY_CLEAN / MILD rather than GOOD — which matches the measurement.
speech_denoise.py — the tool, both modesspeech_denoise/core.cp312-win_amd64.pyd — the compiled engineREADME.md — usage, measured numbers, limitationsBENCHMARK.txt — all 24 combinations plus throughputThis zip is built for 64-bit Windows on Python 3.12. On any other platform, install from PyPI — your machine compiles the engine during install:
pip install speech-denoise
Needs a C compiler: MSVC Build Tools on Windows, Xcode Command Line Tools on macOS, gcc on Linux. Python 3.9+. No account, no upload, no watermark. Your audio never leaves your machine.