Compression is a tool to narrow the dynamic range of an audio signal, the dynamic range just being the amplitude, or volume of the incoming audio signal. In a nutshell, compression can make loud things quieter, and quiet things louder. A track compressed to the maximum would have a scream and a whisper at the same volume. So how does it work?
Note that we are not talking about compression of an audio file into mp3 format, that is a different topic.
What is Compression?
When a track gets too loud (a subjective judgement, to be sure) compression turns the volume down. Think back to high school (if out of high school) when you would play loud rock music in your room. Now, your parents were right there in the living room, and you knew there was an F-bomb coming up. So what did you do? You sat there with your hand on the volume controls of your boom box… I mean iPod dock… and turned down the volume just before the F-bomb dropped, then turned it back up again when the offensive line passed. You acted as a compressor.
Threshold
So what determines when the track is too loud? Most compression devices or plug-ins have a threshold parameter. The setting on this is in decibels (dB) and corresponds with the level on the track in your mixing window. If you set the threshold to -12dB, anytime the audio rises above -12dB on the track fader, compression kicks in. The lower the threshold, the more often, and longer, compression is engaged.
Ratio
The compression can squash the life out of your audio, or it can be subtle. This is determined by the ratio. Ratio is measured as just exactly that, a ratio, or a comparison between two numbers. A ratio of 2 to 1 (or 2:1) renders the audio half as loud when the compression is engaged, or above the threshold. A ratio of 10:1 makes it 10% of the original volume. The threshold determines what is compressed, the ratio determines how much it is compressed.
Other Compression Parameters
Other typical parameters you will see on a compressor is attack, decay, make-up gain, and knee. Attack changes how quickly the compressor reacts when the audio signal exceeds the threshold. Imagine compression on a snare drum track. A short or even nonexistent decay (only possible in the digital world with software compressors) will catch the audio right as it exceeds the threshold, while a longer decay will let through the loud attack of the snare drum hit, while kicking in to compress the tailing out of the drum. There are certainly reasons for both decisions when it comes to mixing.
A long decay will cause the compression to engage for longer, only slowly easing up after the volume drops below the threshold. With a short decay, the compression will "let go" right after the audio volume drops back below the threshold.
Make-up gain is what allows compressors to boost the volume. The first stage of compression is lowering the volume of the louder portions, then by raising the make-up gain, the overall output is increased, causing not the loud parts to be quieter, but the quiet parts to be louder.
Compressors with a knee parameter allow the ratio to change based on how high the volume is above the threshold. For example, audio exceeding the threshold by 1 dB may be compressed 1.5:1, while 10dB above may be 5:1. This allows for subtle compression near the threshold, and more drastic compression well above it.
Limiting: Cousin to Compression
A limiter is compression set to a ratio of infinity:1. What this means is that the volume of the audio signal will never exceed the threshold. This is sometimes referred to as a "brick wall", and is often used as a mastering tool. Limiting is simply an extreme version of compression. Many audio interfaces and portable recorders have limiting functionality built-in, as a defense against loud transients ruining a recording take.
Fixed Threshold Compressors
A limiter is compression set to a ratio of infinity:1. What this means is that the volume of the audio signal will never exceed the threshold. This is sometimes referred to as a "brick wall", and is often used as a mastering tool. Limiting is simply an extreme version of compression. Many audio interfaces and portable recorders have limiting functionality built-in, as a defense against loud transients ruining a recording take.
Fixed Threshold Compressors
Many compressors use a fixed threshold. These do not allow you to change your threshold level, but instead usually have an input gain control, and an output gain control. Instead of changing the threshold, you boost the input gain to push more of the audio level up above the threshold.
Side Chain Compression
Side chain compression is a neat trick, and a commonly used effect. With side chain compression, you still have a compressor on a track, and it is still compressing that track, but the audio signal that engages the compression comes from somewhere else, via a "side chain". This is used to get tremolo type rhythmic variations from a track.








