All postsEngineering

Using the power of artificial intelligence to reduce noise in audio

Why old noise filters each fixed one problem and made another worse, and how a model trained on lots of audio learns what clean speech sounds like.

Digital audio is everywhere: music, podcasts, video calls, audiobooks. And wherever there is audio, there is noise. Artificial intelligence has changed how well that noise can be removed.

Why noise is hard

The challenge of noise is that it has so many causes. Traffic, electrical interference, wind, a fan, people talking in the background. Each sounds different, and some of them overlap with the voice you want to keep.

The traditional tools each solve one problem. A high-pass filter removes rumble, a notch filter removes hum at one frequency, a noise gate mutes everything below a certain volume. But an algorithm that was good at one problem often made another worse: the gate also cuts off the quiet ends of words, and a filter strong enough to remove hiss makes the voice dull.

Learning what clean speech sounds like

A modern model is trained on data. A lot of it, from many different situations. On one side, recordings with hiss, crackle, traffic and chatter; on the other, the same speech clean and at the right volume. From those pairs the model learns the patterns of what makes speech sound good, and what doesn't belong to it.

Once training is done, it can be given a recording it has never heard and make a well-informed guess at what that recording should sound like without the noise. Because it learned about speech in general, it doesn't matter which language is spoken.

Where it still struggles

A guess is still a guess. When the voice is much quieter than the noise around it, there is little left to work with, and the result can sound thin. Short, sudden sounds like a door slam are harder than steady ones like a hum. That is why Nonoisy lets you listen to a preview before you pay.