If you have ever filmed an outdoor vlog on an iPhone or GoPro in strong wind—or recorded a podcast next to an AC unit—you have probably tried one of the popular "one-click AI speech enhancers."
They remove the noise, sure. Then halfway through a fast sentence, your voice suddenly turns into a metallic robot, breathing sounds vanish into eerie digital silence (-∞ dB), and if your file happens to be an .mp4 or .mov video, most free web tools reject it outright until you strip the audio yourself.
While building ClearMyClip, I spent weeks digging into why browser-based noise removal feels so frustrating—and how a few classic DSP and FFmpeg decisions fix almost all of it.
Here is the architecture and the three technical choices that made the biggest difference.
Many well-known enhancers use generative models that re-synthesize your voice from scratch. That works great when rescuing a terribly muffled 8 kHz phone call, but on decent modern microphones (iPhone, DJI Mic, USB condensers) with heavy background wind or hum, generative synthesis often mispredicts sibilants (s, sh, t) and erases natural vocal timbre.
Instead, I built the pipeline around DeepFilterNet3 running at 48 kHz on CPU (chunked inference with strict concurrency locking):
Even with a strong 48 kHz neural denoiser, running noise suppression at 100% removes all room tone. Human ears immediately perceive absolute silence between words as unnatural.
Audio engineers have solved this in DAWs for decades with parallel dry/wet blending: dial noise reduction back to roughly 75%–88%, and the harsh wind rumble or fan hum disappears while a tiny, natural acoustic floor stays intact.
To make this instantaneous in the browser without re-rendering on the server every time the user moves a slider:
dry) wet) AudioBuffers and routes them through two synchronized GainNode s in the Web Audio API:
// Click-free real-time dry/wet mixing in Web Audio API
function applyDryWetBlend(
ctx: AudioContext,
dryGain: GainNode,
wetGain: GainNode,
strengthPercent: number, // 0..100
isBypass: boolean
) {
const wet = isBypass ? 0 : Math.max(0, Math.min(1, strengthPercent / 100));
const dry = 1 - wet;
const now = ctx.currentTime;
// 15ms linear ramp avoids audible clicks when toggling A/B or scrubbing
dryGain.gain.cancelScheduledValues(now);
wetGain.gain.cancelScheduledValues(now);
dryGain.gain.setTargetAtTime(dry, now, 0.015);
wetGain.gain.setTargetAtTime(wet, now, 0.015);
}
Users can press Space to play, hit A / B to toggle Original vs. Cleaned in real time, and drag the strength slider until their voice sounds natural—before spending a single second waiting on a full export.
I also wrote a deeper breakdown of the 75–88% rule here: Why AI Voice Cleaners Sound Robotic (and the Dry/Wet Fix).
-c:v copy) + 2-Pass Linear -16 LUFS
One thing I personally hated about existing web tools was having to open a desktop editor just to detach audio from a 4K .mov file, denoise it, and re-export the entire video (losing quality and burning 10 minutes of CPU time).
On the server side, replacing only the audio track while keeping the original video frames 100% bit-for-bit intact is straightforward with FFmpeg stream copy—provided you watch out for two real-world gotchas:
attached_pic) streams hvc1 tag.mov/.mp4 footage so QuickTime and Safari still play the output natively.
ffmpeg -y \
-i input.mov \
-i cleaned_48k.wav \
-map 0:v:0 \
-map 1:a:0 \
-c:v copy \
-tag:v hvc1 \
-c:a aac -b:a 256k -ar 48000 \
-movflags +faststart \
output_cleaned.mov
For quiet recordings (common on lapel mics or outdoor handheld shots), we also run an optional 2-pass linear -16 LUFS loudness normalization (loudnorm measurement pass → exact measured linear apply pass + brickwall alimiter=limit=0.95) so exported speech matches YouTube and podcast broadcast standards without pumping background noise back up.
If you want to test the real-time dry/wet slider (or even record a 5-second raw mic test directly in the browser—we explicitly set noiseSuppression: false on getUserMedia so your actual room noise stays intact for an honest A/B test), you can try it here with no signup:
👉 ClearMyClip — 48 kHz Audio & Lossless Video Noise Remover
I'd love to hear from other devs working with Web Audio, DeepFilterNet, or FFmpeg in production—especially if you've found better tricks for heavy outdoor wind buffeting or browser-side video/audio lip-sync!