Skip to content

Transient shaper or compressor for punch

A compressor shapes a hit only when it crosses the threshold. A transient shaper reacts to the shape of every hit, loud or quiet. Know which one your part needs.

· 7 min read Lesson 19 of 44 in Mixing & Mastering

In short

  1. Use a compressor when loud hits should be treated differently from quiet ones, because its threshold makes it level dependent.
  2. Use a transient shaper when every hit, ghost notes included, needs the same change to its front edge or tail.
  3. An attack boost raises peaks by about the amount of the boost and a sustain boost lifts room and bleed, so check headroom and the gaps after you shape.
In this lesson (8)

The ghost notes under the threshold

You want the snare to crack. A with a slow attack does it on the : the front edge gets through, the body comes down, and with makeup gain the hit sounds sharper. Then you listen to the between the backbeats. The makeup gain has turned them up, but they keep exactly the shape they had, soft and a little vague, because they never reached the threshold.

Swap the compressor for a and turn up its attack, and the ghost notes get the same extra edge as the backbeats. Both tools change punch. They decide when to act in different ways, and that decides which one a part needs.

Why it matters

One tool listens to level, the other to shape

A compressor acts on level. Its threshold splits the signal into two groups, hits that cross it and hits that do not, and only the first group gets shaped. Attack and release then decide what that shaping sounds like, as the lesson on compression and motion shows. Play the same part louder and more of it crosses the line, so the result changes with the performance.

A shaper looks at how fast the level rises. Many designs have no threshold at all, only an attack control that turns onsets up or down and a sustain control that does the same to tails. A ghost note and a backbeat with the same shape get the same treatment.

Figure 1. Two backbeats and two ghost notes, drawn from a simulation. An 8:1 compressor with a slow attack turns the loud hits down by up to about 4 dB just after their front edge and leaves the ghost notes alone. A transient shaper lifts the front edge of every hit by 5 to 6 dB, loud or quiet.

The demo lets you hear both on one loop. Turn the shaper's attack up, then switch to the compressor and try to get the same change, listening to the start of each hit.

Listen

Shape the hit without a threshold

A transient shaper turns the start of each hit up or down and the tail up or down, whatever the level. Compare it with a compressor on the same loop.

Loading demo…
100%

Start with your speakers or headphones low.

The science

Two followers and a difference

A compressor's gain reduction is the overshoot above a fixed threshold times 1−1/R1 - 1/R, where RR is the ratio. Turn the input up by 6 dB and the overshoot grows by 6 dB, so the gain reduction grows too, and a hit that was under the threshold may now cross it. The outcome depends on level.

A common transient shaper design, which SPL describes as differential envelope technology, runs two envelope followers on the same signal: one with a fast attack, one with a slow attack (White, 1998). At the start of a hit, the fast follower LfL_f jumps up while the slow one LsL_s lags behind. The gap between them, in decibels, sets the attack gain:

Gattack(t)=k(Lf(t)−Ls(t))G_{\text{attack}}(t) = k \left( L_f(t) - L_s(t) \right)

where kk is the attack control, positive to sharpen onsets and negative to soften them. Turn the input up by 6 dB and both LfL_f and LsL_s rise by 6 dB, so their difference stays the same. That is why the process is independent of level and needs no threshold. The sustain control uses a second pair of followers in a similar way, acting on the tail instead of the onset.

Figure 2. Inside a transient shaper, drawn from the same model. A fast follower jumps with the hit while a slow one lags behind. The gap between them, in dB, is largest at the onset and shrinks as the slow one catches up, and the shaper turns that gap into gain. Scale the hit up or down and both followers scale with it, so the gap stays the same.

Fenton and Lee's perceptual model of punch suggests why the front edge carries so much of it: the score comes from the loudness of the transient part of a sound, separated from its steady part, weighted by onset time and frequency band. In their listening tests it correlated strongly with listeners' punch ratings (Fenton and Lee, 2019). Change the onset and you change the part of the sound that model listens to. How that onset relates to the average level is the subject of the lesson on impact and level.

Try it

One snare, two tools

You need a transient shaper. Several DAWs include one, sometimes under the name envelope shaper.

0 of 6 steps done

You will usually find the compressor sharpens only the loud hits and the shaper sharpens all of them. A part where the ghost notes should stay soft wants the compressor; a part that needs every stroke to speak wants the shaper.

Common mistake

Forgetting what level independence costs

An attack boost raises the peaks by about the amount of the boost, because the peak sits on the front edge it is boosting. Add 6 dB of attack to a snare and the snare peaks about 6 dB higher, which eats on the bus and gives a downstream more to catch. Check the meters after shaping.

A sustain boost has a different risk. Because it ignores level, it lifts every tail it finds: room sound, bleed from the hi-hat, the between hits. On a close-miked snare in a busy kit, a few dB of sustain can bring up more hi-hat than snare. A gate or expander before the shaper, which turns down whatever falls below its threshold, keeps that bleed out of the tail.

Takeaway

Decide whether level should matter

Before reaching for either tool, ask whether loud and quiet hits should be treated differently. If they should, the compressor's threshold is a feature: it shapes the backbeats and leaves the ghost notes soft. If they should not, the shaper gives every hit the same change without a threshold to chase as the performance gets louder or softer. On drum loops and samples with a fixed level I go to the shaper first; on a live drummer with a wide I usually want the compressor's judgment on level. Either way, compare at matched loudness and watch the peak meter.

3 questions

Check yourself

  1. A snare part has loud backbeats and quiet ghost notes. You want more crack on every hit, ghost notes included. Which tool does that directly?
  2. A transient shaper raises each onset by 6 dB. The snare peaked at -8 dBFS before. Roughly where does it peak now?
  3. Why does a differential-envelope shaper treat a quiet hit the same as a loud one?

Sources

Show all 3
  • Fenton, S., & Lee, H. (2019). A perceptual model of "punch" based on weighted transient loudness. Journal of the Audio Engineering Society, 67(6), 429-439. doi.org/10.17743/jaes.2019.0017
  • 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.
  • White, P. (1998, October). SPL Transient Designer. Sound On Sound. www.soundonsound.com/reviews/spl-transient-designer

Next lesson · 20 of 44

What bus compression glue really isA bus compressor turns every track on the bus down by the same amount at the same moment. That shared movement is what engineers hear as glue, and too much of it pumps.

Previous: Parallel compression turns the quiet parts up

Portrait of Virzy Guns

Written by Virzy Guns

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