Audio dynamics 101_ compressors, limiters, expanders, and gates
Audio dynamics 101_ compressors, limiters, expanders, and gates
Share
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
In this article, we’ll demystify the compressor and other audio dynamics
processors. We’ll cover the four main types of plug-ins used to control
dynamics: limiters, compressors, expanders, and gates. We’ll discuss the
mathematical processes behind these tools, how they affect the sound,
and the best scenarios in which to use them.
Compressor parameters
We actually won’t dive too deep into parameters here, as we’ve actually
already covered compressor parameters in our Pro Audio Essentials
course.
The average compressor has six main parameters that are important to
understand: threshold, ratio, knee, attack time, release time, and makeup
gain.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
Take a look at the compressor below, just one of useful modules for
channel processing and mixing found in Neutron .
All of the parameters discussed above are clearly labeled at the center of
the screen. The horizontal line indicates the threshold level and its bright
glow indicates that the knee has been turned way up. Below that line, the
pop-up box has controls for attack, release, ratio, and makeup gain, all
neatly accessible. Here’s what all of the controls do.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
Ratio
The amount of compression that occurs once the signal rises above the
threshold is controlled by the ratio. In a standard compressor, a ratio of
x:1 attenuates the signal to a level of 1 dB above the threshold for every x
dB it crosses.
In this example, the grey line represents the threshold. The red line shows
the response for 1:1 ratio, meaning no compression. As you can see, the
level in equals the level out.
The colored lines represent various compression ratios. The orange line
is a very gentle 1.5:1 ratio, where every 1.5 dB of input gain above the
threshold results in only 1dB of gain at the output , so for example an
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.input levelNulla
Nulla facilisi. of nec
9 dB above
purus feugiat,the threshold
vestibulum would
mi nec, ultrices yield
ipsum. anfacilisi.
Nulla output level
1/10 00:00
increase of 6 dB. The yellow line shows a 2:1 ratio, so an input level of 9
dB above the threshold would only yield 4.5 dB of gain at the output.
The blue line shows a 9:1 compression ratio, which is on the edge of the
very aggressive level control known as limiting (for example, the purple
line illustrates a 20:1 ratio).
The green line shows a 3:1 ratio, where we have the line up and to the
right of the 0 dB threshold — for example, an input level of 6 dB yields an
output level of only 2 dB — the louder parts of the signal are now quieter.
With the threshold, ratio, and input level, we can determine the output
level using the equation below.
Knee
The knee affects how a compressor behaves with signals that are very
near the threshold. Think of it as a narrowing or widening of the threshold
point, smoothing out the transition between “not compressing at all”
below the threshold and “compressing at the chosen ratio” above it.
In the figure drawn above, all the lines corner sharply when they get to the
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.threshold — from
Nulla facilisi. Nulla offfeugiat,
nec purus to allvestibulum
the waymion, nec,instantly.
ultrices ipsum.That’s called a hard knee.
Nulla facilisi.
1/10 00:00
Often this sort of behavior is just fine, but sometimes it may sound abrupt
and unnatural.
For a smoother and more musical handling of compression, you can set a
soft knee, where compression turns on gradually as signals approach the
threshold and then pass it. Knee is often measured in decibels and
indicates the transition band between the regions of action and inaction.
The choice of hard versus soft knee is usually made based on the sound
you want to achieve. A hard knee usually results in an 'edgier' tone due to
the compressor's rapid switching on and off that produces high frequency
distortion. Usually this approach does a better job of preserving the sharp
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.energy in Nulla
Nulla facilisi. a track. A soft
nec purus knee
feugiat, usually
vestibulum produces
mi nec, a Nulla
ultrices ipsum. smoother
facilisi. tone.
1/10 00:00
As you can see, Ozone Dynamics has a lot going on. This display shows
controls for a separate Compressor and Limiter, to allow for two stages of
dynamics control. You can set these parameters for up to four frequency
ranges, so (for example) you can compress bass frequencies hard while
leaving highs alone. It’s a full-featured solution for mastering and other
fine audio work, and is just one of the many useful modules in Ozone .
The attack time is the amount of time the compressor will go from zero
compression to full compression based on the ratio and threshold
settings.
Setting appropriate attack and release times can create useful musical
effects, as we’ll discuss below.
Makeup Gain
Because compression only impacts the sound while it’s crossed the
threshold, the loudest parts of the resulting signal become quieter. See
this in the guitar tracks shown below, where the upper waveform shows
the stereo signal before compression and the lower one shows it after
compression.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
1/10 00:00
Why use a compressor?
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
While compression may sound somewhat less natural or ‘hi-fi’ it can help
an element sit well in a mix and therefore the music may sound better.
This can bring out a full and polished sound, more like the “professional”
sound of instruments in the mix. However, you can always opt to perform
less compression (or none at all) if you want to preserve a more dynamic
and “live” quality in the performance.
Transient Shaping
You can also use compressors to shape transients in sounds like drums.
A transient is the first part of any musical sound, where the instrument is
hit, bowed, blown into, plucked, etc., to get it to resonate and make
sound. Transients carry some of the essential information the human ear
needs to determine what the sound is, so playing with them can create a
wide variety of musical effects.
For example, lower (faster) attack times can be used to attenuate the
initial transient (like the crack of the snare or the beater snap of the kick
drum), making the tail of the drum hit more prominent.
Nectar has a dedicated De-esser module in its signal chain, that looks
like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
The vertical line sets the lowest frequency that’s fed into the sidechain,
and the Listen meter shows how much audio in this range is being gain-
reduced in real time. Note how this module doesn’t have many of the
controls we’ve discussed, as its sidechain routing is handled internally
behind the scenes in order to make the process easier — but at its heart,
it’s still a compressor.
Limiters
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00 What Is a Limiter? | Audio Dynamics 101
With this ratio, the compressor would output signals at levels of 1 dB, 2
dB, and 4 dB over the threshold. Closer to each other in level, but still not
so consistent.
Eventually, as the ratio increases, the signal will not be allowed to cross
the threshold, which becomes a sort of “ceiling.”
The exact number you’ll hear changes from source to source, but any
compression with a ratio of around 12:1 or higher could be considered
limiting.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
Limiter parameters
Every limiter will have at least one parameter: gain. This is used to boost
signal until it hits the ceiling and is compressed.
Some limiters will have an adjustable threshold level, which is also often
referred to as the ceiling.
If your limiter does not have this capability, you can always compensate
for the added gain with a dedicated gain plug-in or at the channel fader.
However, as limiters are mostly used in mastering as a means to bring
the signal to unity gain, you’ll rarely need this.
Most limiters will have a release time parameter as well. This functions
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.like
Nulla a compressor’s
facilisi. Nulla nec purusrelease time, determining
feugiat, vestibulum how
mi nec, ultrices ipsum. long
Nulla the limiter will
facilisi.
1/10 00:00
take to return to zero compression.
Not all limiters will have an adjustable attack time, however. Some, like
the Vintage Limiter in Ozone, have connected attack and release
parameters (set with the “Character” parameter).
As expected, as the ratio increases, the output level for a signal that
crosses the threshold will become closer and closer to the threshold
itself. The signal cannot pass it.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
1/10 00:00
Why use a limiter?
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
The main use, and really only use, of a limiter, is in mastering. The
compression that they offer is so extreme that they’re rarely used on the
channel level. Instead, limiters are often used on the master to bring the
track up to a commercial level, and through compression commercial
“loudness.” This final stage of compression can glue the elements of the
track together and make the track louder at the same level.
Remembering that our ears naturally prefer louder music, limiters provide
mastering engineers a big advantage in making a track sound
professional. Just be sure not to overdo limiter settings, as the added
compression and eventual distortion can suck the life out of a dynamic
mix.
Expanders
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00 What Is an Expander? | Audio Dynamics 101
“Upward expanders” amplify the level of signal that passes the threshold,
rather than attenuate it like a “downward compressor.” A “downward
expander” attenuates signal that drops below the threshold, rather than
amplify it like an “upward compressor.”
Be sure to check this article out for more information on upward and
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.downward expanders
Nulla facilisi. Nulla in mixing.
nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
Expander parameters
The parameters found in an expander are and function mostly the same
as those in a compressor.
The threshold once again determines the input level at which the
expander will activate. This happens when the signal is loud enough to
cross this threshold level (upward expansion) or quiet enough to fall
below it (downward expansion).
Say we had a downward expander with a ratio of 1:3 and a threshold set
at 0 dB. If the incoming signal were at -1 dB (1 dB below the threshold),
the signal would be attenuated to -3 dB at the output. If the signal were at
-2 dB (2 dB below the threshold), the signal would be attenuated to -6 dB
at the output. The quieter parts of the signal are now quieter.
With the threshold, ratio, and input level, we can determine the output
level using this equation (this works for downward and upward
expansion):
Knee, attack time, and release time for expanders would all work the
same as in compressors.
Downward expansion does not require makeup gain, as the quiet parts
will simply be quieter.
One of the main uses of expanders is in mixing a recorded drum kit. Each
drum is individually mic'd, allowing each to have a separate channel on
the mixer. However, total isolation is difficult, and bits of the other drums
are bound to bleed through into other microphones.
An expander can be used, for example, to decrease the volume of the hat
in the snare mic. As the hat will be further away from the mic than the
snare, it will be quieter than the snare when picked up by the snare mic.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.Therefore, downward
Nulla facilisi. Nulla expansion
nec purus feugiat, vestibulumcan beultrices
mi nec, usedipsum.
to attenuate
Nulla facilisi. it.
1/10 00:00
With the same logic, you can use expanders to remove reverb from
drums. The reverb signal will be lower than the threshold, causing it to be
attenuated in between the drum hits. Listen to the example below:
00:07
00:07
The reason this works with drums is that, after each drum hit, there is
space for the signal to drop below the threshold level. With a low release
time, it’s possible to mostly cut out the reverb tail. In a more sustained
instrument, like a vocal or keys, this wouldn’t work because the dry
instrument will still keep the overall signal above the threshold, allowing
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.the
Nullareverb through.
facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
1/10 00:00
Dry Drums
00:07
Vinyl Static
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
I’ve placed an expander on the static‘s channel and triggered it with the
drum loop. Hear how the static pumps with the drum groove when it’s
soloed. And hear the added layer of texture it gives to the drums when
both are played together.
00:11
00:07
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
1/10 00:00
Gates
feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi.
Let’s see how a gate simply acts as an expander with a high ratio.
For example, let’s say that we have an expander with a ratio of 1:2 (not
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.very high).Nulla
Nulla facilisi. Wenecsend
purusthree signals mi
feugiat, vestibulum through it, ipsum.
nec, ultrices at levels of 2 dB, 4 dB, and
Nulla facilisi. 8
1/10 00:00
dB below the threshold.
With this ratio, the expander would output signals at levels of 4 dB, 8 dB,
and 16 dB below the threshold. The signals’ levels are further apart but
are all still relatively close.
However, if we turned the ratio up to 1:4 (very high), the expander would
output signals at levels of 8 dB, 16 dB, and 32 dB below the threshold.
These signals are now much further apart and much closer to being
inaudible.
Gate parameters
Every gate will have at least three parameters: threshold, attack
time, and release time. These all function the same as in compressors
and expanders.
Some gates will also have a hold parameter, causing the gate to remain
open for a period of time (in ms) after the signal has dropped below the
threshold and before the release phase begins.
Some gates will also offer the ability to have the gate close at a different
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec purus feugiat, vestibulum mi nec, ultrices ipsum. Nulla facilisi. Nulla nec purus
feugiat, vestibulum mi nec, ultrices ipsum.level thanNulla
Nulla facilisi. thenec
threshold, which
purus feugiat, is only
vestibulum mi nec,used
ultrices for opening
ipsum. the gate. This
Nulla facilisi.
1/10 00:00
parameter is often called the close or return level.
And just like the fact that some limiters have an adjustable ceiling, some
gates will have an adjustable floor level. This is the level that signal will
remain at while the gate is closed, and can be increased up from -∞ dB.
As the ratio increases, that total fraction will become larger and larger.
Therefore, the equation will eventually become this:
As expected, as the ratio increases, the output level for a signal that falls
below the threshold will become quieter and quieter. Eventually, the
signal will not be able to pass if it is below the threshold—a gate.