In this lesson
Compression changes motion before level
Compression changes how a sound moves in time as well as how loud it is. Attack decides whether the crack gets through, and release decides how the track breathes.
Updated · 6 min read · Lesson 16 of 44 in Mixing & Mastering
In short
- Attack decides whether the first crack of a hit gets through. Release decides how fast the body comes back up.
- Set release so gain reduction is back at zero just before the next hit, and the track breathes with the tempo.
- Judge at matched level. Louder sounds better at first, so makeup gain alone can fool you.
In this lesson (8)
The static level misconception
You put a on a bass or a vocal, watch the gain reduction meter dance and think the job is done. You assume a compressor is a level regulator that keeps the quiet parts up and the loud parts down. Then you play the full mix and the part feels stiff. It sits in the middle of the speakers and refuses to lock in with the drums.
That happens when compression is treated as a volume tool instead of a motion tool. A compressor changes the envelope of a sound: how sharp its start is and how fast its tail falls away. Change those, and you change how the sound moves through time, which changes the groove of the whole track.
Why it matters
Compression reshapes the envelope
Every note has a level envelope: a sharp start, the , then a body that decays. A compressor reacts to that level with the attack and you set.
With a fast attack, the compressor reacts almost at once and clamps the transient. The hit loses punch and seems to sit further back in the mix. With a slow attack, the transient gets through before the compressor engages, so the hit keeps its snap and seems closer. The release sets how quickly the compressor lets go afterwards, which decides how loud the decaying body is and how the track breathes.
Listen
Hear compression change the shape of a hit
A drum loop, or a real mix, through a compressor, level-matched so you compare movement, not volume. Change the attack and listen to the snare.
Start with your speakers or headphones low.
The science
The gain computer and its time constants
A digital compressor has two parts. The gain computer compares the input level with the threshold and decides how much to turn down. A smoothing stage then moves the gain reduction toward that target at the speed set by attack and release (Giannoulis, Massberg and Reiss, 2012). Above the threshold, with a hard knee, the target is:
Here is the input level in decibels, the threshold and the ratio. While the target is rising, the gain reduction follows it with the constant . While it is falling, it recovers with the release time constant . Changing those two constants changes the balance between the transient and the body of a sound, and that balance is most of what you hear as punch.
Try it
Tune compression to the groove
Shape the movement of a part by lining up the compressor's timing with the tempo.
0 of 6 steps done
You should now hear the room tail rise in the gaps between hits, a pumping motion that breathes in time with the song.
Common mistake
Default attack and release
You leave the compressor on its default settings or rely on auto release. Auto release can work well on full mixes, where the material is complex. On a single drum or bass track it rarely matches the rhythm, and a release that does not match the tempo fights the performance.
The other mistake is judging with makeup gain on. The compressed version is louder, and louder almost always sounds better at first. Bypass the compressor at matched level to hear whether the movement of the sound improved.
Takeaway
Set it with the rhythm section playing
Think of compression as a way to place a part in time. A slow release keeps a vocal steady. A faster release lets the breaths come up between phrases, which adds urgency and closeness.
Set your compressors with the rhythm section playing, not in solo. The attack should respect the kick and snare transients, and the release should move with the hi-hats. If the part moves with the beat, keep the setting. If the groove feels stiff, raise the threshold or shorten the release.
Compressor
A processor that turns a signal down once it goes above a threshold. The ratio sets how much: at 4:1, every 4 dB over the threshold comes out as 1 dB over.
Transient
The short, sharp start of a sound, like the crack of a snare or a pick hitting a string. It carries a lot of how hard a sound feels and how quickly the ear recognizes it.
Release time
How quickly a compressor lets go after the signal falls back below the threshold.
Attack time
How quickly a compressor clamps down once the signal crosses the threshold, or how quickly a synth note rises to full level. Usually set in milliseconds.
3 questions
Check yourself
Sources
Show all 3Hide sources
- Giannoulis, D., Massberg, M., & Reiss, J. D. (2012). Digital dynamic range compressor design: A tutorial and analysis. Journal of the Audio Engineering Society, 60(6), 399-408.
- Reiss, J. D., & McPherson, A. (2014). Audio Effects: Theory, Implementation and Application. CRC Press.
- Senior, M. (2011). Mixing Secrets for the Small Studio. Focal Press.
Next lesson · 17 of 44
Fix the loud word before the compressor hears itOne shouted word can set how hard a vocal compressor works for the whole phrase. Trim outliers with clip gain first, then let the compressor handle the rest.Previous: What a 4:1 compression ratio does

Written by Virzy Guns
Songwriter and producer, founder of Virzy Guns Production. Now building HealingWave.