Skip to content

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

  1. Attack decides whether the first crack of a hit gets through. Release decides how fast the body comes back up.
  2. Set release so gain reduction is back at zero just before the next hit, and the track breathes with the tempo.
  3. 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.

Figure 1. Two drum hits through the same 6:1 compressor, drawn from a simulation. A 1 ms attack clamps the hit almost at once, leaving only a thin spike of the peak. A slow attack lets the peak through and turns down only the body, which is why it sounds punchier.

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.

Loading demo…
100%

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:

GR(t)=(Lin(t)−T)×(1−1R)GR(t) = \left( L_{\text{in}}(t) - T \right) \times \left( 1 - \frac{1}{R} \right)

Here LinL_{\text{in}} is the input level in decibels, TT the threshold and RR the ratio. While the target is rising, the gain reduction follows it with the constant τa\tau_a. While it is falling, it recovers with the release time constant τr\tau_r. 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.

Figure 2. Above the threshold, a 4:1 ratio lets 1 dB out for every 4 dB in. A peak at -12 dB comes out at -21 dB: 9 dB of gain reduction.

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.

Figure 3. Four hits through an 8:1 compressor. When the release recovers between hits, each hit starts from full level. When it is too slow, the compressor is still clamped as the next hit arrives, so every hit after the first is held down and the groove flattens.

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.

3 questions

Check yourself

  1. With a very fast attack, what happens to a snare hit?
  2. Threshold -24 dB, ratio 4:1. A peak arrives at -12 dB. How much gain reduction?
  3. Why compare compressed and bypassed at the same loudness?

Sources

Show all 3
  • 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

Portrait of Virzy Guns

Written by Virzy Guns

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