Adventures In Audio

What is the math behind audio compression?

On your compressor you will see a 'ratio' control calibrated 2:1, 3:1, 4:1 etc. What does this math mean?

Compressor ratio control

Audio levels are measured in decibels. To be more correct, the levels of two audio signals can be compared in decibels. One signal, for instance, could be ten decibels (10 dB) louder than another. Or there could be a single signal and you raise it in level by 10 dB.

A difference or change in level of 1 dB is hardly noticeable to most people. 3 dB should be just noticeable to most people, and obvious to audio experts. 10 dB is a significant change. 20 dB is a big change.

A real-world example

If a vocal recording, for instance, is mostly quiet during the verse of a song, then rises in level during the chorus this can create the problem that it is too quiet during the verse and too loud during the chorus. Or you could set it so that it is just right during the verse, but then it is way too loud in the chorus. Or you could set it so that it is just right in the chorus, but way too quiet in the verse.

Let's suppose that the vocal is around 12 dB louder in the chorus than the verse...

Setting the ratio control of the compressor

If you set the ratio control to 2:1, this means that for every 2 dB the input signal level rises (above the threshold setting, but that's another explanation for another day), the output signal from the compressor will rise only 1 dB.

So in this case the level of the vocal would rise by only 6 dB during the chorus, rather than the original 12 dB.

This might work, or you might need more compression.

So set the ratio to 3:1. Now for every 3 dB the input signal rises, the output signal from the compressor will rise only 1 dB.

So the chorus will be 4 dB louder than the verse.

One more example... Set the ratio to 4:1. Now for every 4 dB the input signal rises, the output signal from the compressor will rise only 1 dB.

So the chorus will be 3 dB louder than the verse. This might work - the chorus is often louder than the verse. Or you could raise the compression ratio further to control the level even more strictly.

4:1 is a useful compression ratio for vocals. 10:1 would be quite a lot of compression. 20:1 would be extreme, but don't be afraid to use any ratio that you think helps the song.

Summary

The math is simple. With a 2:1 ratio, when the input level rises by 2 dB, the output will rise by 1 dB.

Saturday August 31, 2019

Like, follow, and comment on this article at Facebook, Twitter, Reddit, Instagram or the social network of your choice.

David Mellor

David Mellor

David Mellor is CEO and Course Director of Audio Masterclass. David has designed courses in audio education and training since 1986 and is the publisher and principal writer of Adventures In Audio.

Learn Pro Tools with our amazing range of video courses

Pro Tools video course catalog

Browse Pro Tools courses...

Learn Logic Pro with our amazing range of video courses

Logic Pro video course catalog

Browse Logic Pro courses...

Learn Cubase with our amazing range of video courses

Cubase video course catalog

Browse Cubase courses...

Audio Masterclass gives you all the technical knowledge and skills to bring your musical dreams to life

The Audio Masterclass Music Production and Sound Engineering Course

Get the most from your studio with the Audio Masterclass Music Production and Sound Engineering Course.

Learn more...

More from Adventures In Audio...

Hi-Fi comfort OVER your ears? TRUEFREE O1 detailed review

Get the tube sound in your system with the Fosi Audio P3

Any studio you like, any listening room you like - For producers and audiophiles

Hidden Hi-Fi - The equipment you never knew you *didn't* need - Fosi Audio N3

Adding tubes to a jazz mix with Freqport Freqtube

Adding tubes to a rock master with Freqport Freqtube

Adding tubes to female vocals with Freqport Freqtube

Adding tubes to male vocals with Freqport Freqtube

Adding tubes to real drums with Freqport Freqtube

Adding tubes to a bass guitar with Freqport Freqtube

Adding tubes to speech with Freqport Freqtube

Adding tubes to an acoustic guitar with Freqport Freqtube

Parabolic reflector microphone - Sound On Sound latest issue

Your power amp is average - Here's why

MANCAVE REVIEW: In-ear monitors - Better than earbuds?

Can this tiny amp really produce 600 watts? - Fosi Audio V3

MANCAVE - Recreating Olivia Rodrigo's 'Vampire' vocal

Why does this song sound so bad?

Audiophiles - You're all wrong!

MANCAVE RE-REVIEW: OpenRock Pro earbuds in language Audiophiles can understand

MANCAVE REVIEW: OpenRock Open-Ear Air Conduction Sport Earbuds

Can lossy digital audio be better than lossless?

Man-Cave: Microphone mysteries revealed

How I improved my audio - From the Mancave