Other tools I sell, each with its measurement table: https://gem3match-dev.github.io/built-and-measured/
Remove background noise from audio recordings — static, mains hum, fan noise, hiss, air-conditioning rumble. Tuned so the speech stays intelligible instead of going muddy. One command, no server, nothing uploaded — the audio never leaves your machine.
pip install speech-denoise
speech-denoise recording.wavVideo input works too — drop in an .mp4 and the audio track is extracted automatically (needs ffmpeg on PATH).
If you searched for "how to remove background noise from audio", "get rid of static in a recording", "remove hiss from a voice memo", "clean up noisy interview audio", or "remove fan noise" — this is the tool for that. It handles steady noise: hums, hiss, fans, air conditioning, codec artefacts. It does not remove reverb, and it cannot separate two people talking over each other.
The code is the same either way. There is no crippled version, no file limit, no watermark, no account.
| Personal use | Free. Your own recordings, study, teaching, hobby projects with no revenue. |
| Commercial use | $9 once. Client work, paid podcasts and channels, audio for a product you sell, anything done as part of a job. |
Commercial licence — $9 · 30-day refund · no subscription, no expiry
Students, teachers and non-profits: write to longjiao1986@vip.qq.com and a free commercial licence is normally granted.
Full terms: LICENSE
One command from raw recording to a file you can upload.
speech-denoise --podcast episode.wavThat 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.
Measured on this machine:
| Input | Time | Output |
|---|---|---|
| 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.
The normal mode (no flag) is unchanged — it denoises and writes a wav, leaving loudness alone.
Spectral subtraction removes noise by subtracting a noise 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 than an aggressive setting would.
Four real recordings (two male, two female), six noise conditions, measured with STOI — an intelligibility score 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 SNR | +0.0086 | −8.8 dB |
| Hiss, 5 dB SNR | +0.0084 | −8.9 dB |
| Codec artefacts, 15 dB SNR | +0.0034 | −7.7 dB |
| Reverb, 0.6 s | −0.0028 | −5.5 dB |
Across all 24: average ΔSTOI +0.0105, worst case −0.0138, best +0.0432. 19 improved / 5 worse. All 5 regressions are reverb or codec artefacts.
That last number is the point. A denoiser that raises the noise reduction by 6 dB but drops STOI by 0.06 is making your recording harder to understand. This one does not.
- Reverb. It barely touches it (-0.0028 STOI, −5.5 dB noise floor). Reflections are not noise. The verdict says
ALREADY_CLEANorMILDrather than claiming success. - Two people talking at once. It cannot separate speakers and will sometimes suppress one.
- Badly clipped recordings. What's gone cannot come back.
- Very low bitrate codecs. Only partly reduced.
Every run ends with a verdict computed from the noise-floor drop and how far the speech band moved:
| Verdict | Meaning |
|---|---|
ALREADY_CLEAN |
Noise floor already 35+ dB below the speech band. Nothing to remove. |
GOOD |
Noise floor dropped ≥3 dB, speech band moved <1.5 dB. |
MILD |
Noise floor dropped 1–3 dB. Listen first. |
CAUTION |
The speech band itself moved down >1.5 dB — listen before using. |
LITTLE |
Almost nothing changed. Probably a noise type it does not handle. |
On the 24-combination set above, the two reverb cases report ALREADY_CLEAN/MILD rather than GOOD, which matches what the measurement says.
# process one file
speech-denoise recording.wav
# write to a specific output
speech-denoise recording.wav cleaned.wav
# report only, no output file
speech-denoise --report recording.wav
# video input
speech-denoise interview.mp4Or as a module:
python -m speech_denoise recording.wavThe tool estimates the noise level before processing, then picks a strategy:
| Estimated SNR | Strategy |
|---|---|
| < 8 dB | strong — spectral subtraction |
| 8–18 dB | medium — Wiener-style gain |
| > 18 dB | light — minimal touch, preserve fidelity |
A fixed preset cannot handle a folder where some files are clean and some are noisy. This can.
16-bit PCM WAV at the original sample rate, loudness-matched to the input, peak-limited to avoid clipping.
Python 3.9+, numpy, scipy, librosa, soundfile. ffmpeg optional for video input.
Everything runs locally. No account, no API key, no upload.
Free for personal use. A one-time $9 licence is required for commercial use — client work, paid podcasts and channels, audio for a product you sell, anything done as part of a job.
You may read, modify and use the code in your own projects. You may not resell or redistribute the source as a product, or publish it under your own name.
Full terms: LICENSE