by Rob Mayzes
The 5 Key Elements of Audio Compression
Audio compression can be daunting. In this guide I want to teach you exactly how to use a compressor.
I can remember how intimidating and confusing compression was when I first started mixing…
I always resorted to the presets.
I tampered with the settings, but had no idea what I was doing.
What does a compressor even do? Ratio? Attack time? What in the world are they?!
If you want to get compression right every single time, make sure you download my free compression cheat sheet below.
This will give you an overview of compression and a handy reference for when you are mixing.
(I also show you how to approach different genres and instruments)
Get it here:
Some people find learning how to use compression problematic. But here’s the solution…
There are only five key parameters that matter when it comes to compression.
Ratio, threshold, attack, release and gain.
Learning how to use compressors become a lot less scary once you have an understanding of each of these settings. They become valuable, controllable tools.
It takes years to master compression. Don’t even get me started on multiband compression.
But it will only take a few minutes to understand how they work. And this will get you 80% of the way there. Keep reading…
NOTE: If you prefer to learn by video, I created an extensive 40 minute guide to using compression:
How To Use Compressor Ratio
To understand ratio, we first need to understand what a compressor actually does.
The clue is in the name – it compresses the volume of audio (in layman’s terms).
When a sound gets too loud, the compressor kicks in and reduces the volume.
The ratio determines how much the volume is reduced by.
Let me give you an example:
You load up a compressor on the vocal and it goes over the threshold by 10dB (more on threshold in a second).
We have set the ratio to 2:1. This means that the sound will be reduced in volume by a factor of 2.
So, instead of getting 10dB louder, the vocal now gets 5dB louder. With me?
Here’s another one:
If we set the ratio to 4:1, the sound would be reduced in volume by a factor of 4.
10 divided by 4 is… 2.5. So our sound now only gets 2.5db louder.
A ratio of 10:1? Our sound now only gets 1dB louder!
Once again – the ratio determines how much the sound is compressed (reduced in volume).
But at which point is the volume of the sound reduced? Is the whole track reduced?
No. Only when the sound hits the compressor threshold…
It’s All About The Threshold
This is the point that the compressor kicks in.
If we set the threshold to -24db, the compressor will not affect everything quieter than that.
BUT, as soon as the sound hits -24dB, the compressor will kick in and reduce the volume.
Here’s a graph that ties threshold and ratio all together:
You can clearly see how threshold determines when the compressor kicks in, and then ratio determines how much the sound is compressed.
If you set the threshold too low, the audio will be compressed all of the time and sound unnatural. Sometimes this is desirable, but in most cases it isn’t.
We usually use a compressor to catch the louder peaks and make the track more consistent in volume. So we adjust the threshold until the compressor only kicks in when our recording hits those peaks.
On the other hand, if we set our threshold too high, the compressor won’t do anything at all!
Dial In The Attack Time
We have our audio and our threshold is set to catch the loudest peaks.
But what happens when those peaks hit the compressor? Is the volume just instantly reduced?
Attack time is how quickly the compressor engages and reduces the volume of the audio.
If our attack is set to 10ms, and the audio rises above our threshold of -24db, it will take 10 milliseconds for the compressor to fully kick in.
Different attack times can make a HUGE difference.
And it all depends on the instrument that you’re compressing, the pace of the song, and hundreds of other factors.
But in general, go with a slow attack time. You should be nearer 40ms than 4ms.
This means that the whole note is compressed, rather than the attack of the note (the plectrum hitting the string of a guitar, for example).
Because we are talking about milliseconds, everything is happening on a very small scale.
If your attack is set to 5ms, the compressor is going to kick in quickly and affect the initial attack of the note. But if we use a slow attack time, the transient (start) of the note will slip through and the sustain (the rest of the note) will be compressed.
Sometimes you might want a fast attack e.g. a guitarist that picks really hard. Use shorter attack times to when you want to compress the transient as well as the sustain.
But in most cases, a slow attack will sound a lot more natural and musical.
With vocals, it works slightly differently. Slow attack sometimes sounds unnatural and odd (as does a very fast attack time). Stay around 2-10ms for vocals and voice.
For an in-depth guide to getting the attack time right…
Watch this video, where I share 3 simple tips:
Don’t Forget The Release Time
This is sometimes referred to as decay.
This is how long it takes the compressor to dis-engage.
It’s the exact opposite of attack.
Once the audio drops back below the threshold, this is how long it takes for the compressor to return the audio to its normal volume.
Release time is just as important as attack time.
You need to be careful – if the release time is too quick, the audio will sound very unnatural. If it’s too slow, the compressor never turns off!
The best way to adjust release time is tweak it until the audio feels right with the rhythm and tempo of the song.
There is no exact setting that suits every song or instrument.
Use your ears, and trust them.
If it sounds unnatural or odd, tweak the release time with the whole song up (not with the track solo’d).
Start around 60ms and work from there.
Here’s another chart, this time depicting how attack and release time affect the gain reduction.
The red line is the original audio, and the blue line is the audio coming out of the compressor (that has been reduced in volume).
Notice how the output lags behind the input due to the attack and release time of the compressor:
A lot of people struggle with this…
But there are only really TWO ways to set the release time:
Always Add Some Gain
All of this compression and volume reduction can of course make the track sound quieter.
To compensate we use the ‘make-up gain’ or ‘output gain’ control to increase the volume of the audio coming out of the compressor.
A lot of compressors have an ‘auto-gain’ feature, but you should avoid this.
Instead, increase the gain until your level coming out is the same as your level going in (most compressors have dB meters to help you do this).
Of course, you can increase the gain even further so that the output is louder than the original track.
This is one of the main reasons for you to use compression…
Because we are reducing the volume of the loudest peaks, we can increase the overall volume of the track.
My 10 Top Tips for Applying Compression
#1 – Start with an attack time of 40ms and a release time of 60ms if it’s an instrument
Now, these are just guidelines.
And yes, I have already mentioned these figures. But I just wanted to bring them up again.
In no way will these settings work for every instrument.
But it’s a good starting point. You’re not going to mess anything up too much with these settings.
#2 – Start with an attack time of 6ms for vocals
You should approach vocals and voice differently when you apply compression.
Start with an attack time around 6ms and tweak from there.
You can start with a release time around 60ms on vocals too, though!
#3 – You don’t always have to use compression…
And in fact, you should avoid heavy compression (unless you are using it as an effect).
If you want something to sound ‘fat’ (a common reason people use compression), spend more time on mic choice, mic placement, instrument choice and room treatment.
It’s much easier to get a ‘fat’ kick sound with the right kick drum in the right room. You don’t necessarily need compression to achieve that sound.
You can also use volume automation in place of compression in a lot of cases.
A lot of people use heavy compression to control dynamics (make something more consistent in terms of volume).
This is the lazy approach!
Instead you should go through and manually automate the track. Trust me, it will sound so much better. Plus, there’s a lot less to go wrong.
Having said that, it’s okay to apply gentle compression to pretty much everything (2 to 4 dB with a 3:1 ratio).
Which leads me on to…
#4 – Lots of subtle changes soon add up
Apply compression in the same way that a painter would use a paint brush. Use lots of small strokes – not one huge blotch.
A small amount of compression on the lead guitar, rhythm guitar and vocals (only a few dB’s reduction). Then, slightly heavier compression on bass and kick. It adds up quickly.
You can also apply this tip to single instruments or vocal.
A lot of people like to use a very small amount of compression when recording vocals (using an outboard hardware compressor).
A bit more compression is then applied in the mixing phase, after the subtractive EQ.
These small and subtle process are a lot more effective than a single heavy compressor slapped on right at the very end.
#5 – Compress the bass guitar and kick together
This is a great little trick that I like to use.
The bass guitar and kick drums are usually the most heavily compressed instruments on a track.
They provide the bottom end and usually anchor the song.
This trick doesn’t always work. Depending on the song, you might not want to apply heavy compression to both of these instruments. You might want the bass guitar to have a high dynamic range.
BUT, if you have a song where you want the bass and the kick to be pretty consistent, try compressing them together.
Send them both to a stereo buss/aux and apply compression to both of them at the same time.
This really helps them to work together and form a solid, hard-hitting wall of bass. Awesome!
#6 – Parallel compression on drums is more subtle
If you want to compress the whole drum kit (not just the kick drum), you need to very careful.
Applying compression directly to the drum overheads can quickly lead to disaster.
There is a way around this though – use parallel compression.
What is parallel compression? It’s when you mix the original, uncompressed audio with the new, compressed audio.
For example, you might want to have 50% uncompressed drums and 50% compressed drums.
This sounds a lot more natural and maintains the natural dynamics of the drums. But at the same time it makes the drums sound bigger and heavier.
Give it a go!
Some compressors have this ability built in. If yours doesn’t, it’s easy to do.
Send all your drums tracks to a stereo buss/aux (and maybe even the bass too). Make sure you do this with sends, not by changing the output of the tracks. You still want the original tracks going to your master output.
Then, apply heavy compression to this new stereo buss/aux. Aim for 8dB reduction or more.
Slowly bring up this new ‘compression’ buss/aux until you can just about hear it and it sits nicely under the rhythm section. Experiment with EQ (trying boosting the lows and highs) and different compressor settings.
Bobby Owsinki talks about this trick a lot, and has coined it ‘The New York Compression Trick’.
#7 – Apply subtractive EQ before compression
Low frequencies carry a lot more power than high frequencies. They’re a lot harder for a compressor to work with.
You should always put your subtractive EQ and high pass filters before the compressor.
This way, the compressor doesn’t have to deal with these unwanted frequencies!
#8 – Pick a plugin and stick with it
Although compressors always have those 5 key parameters, they vary a lot in their extra features.
It’s best to settle on one compressor and get used to it.
The one that comes with your DAW will be more than sufficient in most cases.
Don’t confuse yourself by using different plugins every time. Stick to one and learn it inside out!
#9 – Watch the meters
Most compressors have a graphic representation of how much the audio is being compressed.
If the compressor doesn’t frequently dis-engage and return the audio to normal, your threshold is too low.
Watch the meter and make sure the compressor isn’t constantly on.
#10 – Match the output gain to the input
This is a common problem in mixing (and mastering).
To our ears, an increase in volume sounds pleasant.
We perceive louder volume as better.
You should frequently compare your new compressed audio to the original audio to see if you have made an improvement.
If your output is louder than the original audio, you will always perceive the compressed audio as better.
To avoid this, it is important to match the output volume to the input volume when you are tweaking the compressor.
Then, when you are satisfied with the changes, boost the gain if you need more volume on the track. But only after you’ve adjusted the parameters.
BONUS TIP (Knee)
Aren’t you lucky! Here’s a free bonus tip!
You may have noticed another setting on your compressor called ‘knee’.
By default, most compressors have what we would call a ‘hard knee’ (low number). This means that as soon as the audio hits the threshold, the compressor kicks in and reduces the gain at the ratio that we set.
But what if we want the compressor to act more subtly and gradually increase gain reduction as the level of the incoming signal increases?
We can achieve this by using a ‘soft knee’ (high number).
Using a soft knee on vocals, piano and melodic instruments can make compression less obvious and more natural. But on a more rhythmic instrument, such as drums, you should use a hard knee.
The Key to Nailing Compression
Rules are made to be broken (or bent).
Once you’ve become comfortable with compression, start experimenting.
You can use compression as a creative effect to achieve all kinds of weird, crazy sounds. If that’s what you want, of course.
As I always say, trust your ears. Use these tips as a starting point, but use your ears above all else.
Now to put everything you’ve learned in to practice. It’s no good having all this awesome info just rattling around in your brain.
You don’t want to forget everything you have learned here…
So I put together a free cheat sheet to help you implement all of this.
Download it here:
Recommended for you:
- Mixing Vocals: How to Mix Vocals with Confidence
- Using Sidechain Compression
- Mixing with Parallel Compression
Got something to say? Leave a comment below. I’d love to hear from you!
The best way to commit to something is to put it in writing. Let me know which ONE tip you are going to try next time you use a compressor.