By Craig Anderton
Compressors are some of the most used, and most misunderstood, signal processors. While people use compression in an attempt to make a recording "punchier," it often ends up dulling the sound instead because the controls aren't set optimally. Besides, compression was supposed to become an antique when the digital age, with its wide dynamic range, appeared.
Yet the compressor is more popular than ever, with more variations on the basic concept than ever before. Let's look at what's available, pros and cons of the different types, and applications.
Compression was originally invented to shoehorn the dynamics of live music (which can exceed 100 dB) into the restricted dynamic range of radio and TV broadcasts (around 40-50 dB), vinyl (50-60 dB), and analog tape (40dB to 105 dB, depending on type, speed, and type of noise reduction used). As shown in Fig. 1, this process lowers signal peaks while leaving lower levels unchanged, then boosts the overall level to bring the signal peaks back up to maximum. (Bringing up the level also brings up any noise as well, but you can't have everything.)
Fig. 1: The first, black section shows the original audio. The middle, green section shows the same audio after compression; the third, blue section shows the same audio after compression and turning up the output control. Note how softer parts ot the first section have much higher levels in the third section, yet the peak values are the same.
There are other reasons for compression. With digital encoding, higher levels have less distortion than lower levels—the opposite of analog technology. So, when recording into digital systems (tape or hard disk), compression can shift most of the signal to a higher overall average level to maximize resolution.
Compression can create greater apparent loudness (commercials on TV sound so much louder than the programs because of compression). Furthermore, given a choice between two roughly equivalent signal sources, people will often prefer the louder one. And of course, compression can smooth out a sound—from increasing piano sustain to compensating for a singer's poor mic technique.
Compression is often misapplied because of the way we hear. Our ear/brain combination can differentiate among very fine pitch changes, but not amplitude. So, there is a tendency to overcompress until you can "hear the effect," giving an unnatural sound. Until you've trained your ears to recognize subtle amounts of compression, keep an eye on the compressor's gain reduction meter, which shows how much the signal is being compressed. You may be surprised to find that even with 6dB of compression, you don't hear much apparent difference—but bypass the sucker, and you'll hear a change.
Compressors, whether software- or hardware-based, have these general controls (Fig. 2):
Fig. 2: The compressor bundled with Ableton Live has a comprehensive set of controls.
Threshold sets the level at which compression begins. Above this level, the output increases at a lesser rate than the corresponding input change. As a result, with lower thresholds, more of the signal gets compressed.
Ratio defines how much the output signal changes for a given input signal change. For example, with 2:1 compression, a 2dB increase at the input yields a 1dB increase at the output. With 4:1 compression, a 16dB increase at the input gives a 4dB increase at the output. With "infinite" compression, the output remains constant no matter how much you pump up the input. Bottom line: Higher ratios increase the effect of the compression. Fig. 3 shows how input, output, ratio, and threshold relate.
Fig. 3: The threshold is set at -8. If the input increases by 8dB (e.g., from -8 to 0), the output only increases by 2dB (from -8 to -6). This indicates a compression ratio of 4:1.
Attack determines how long it takes for the compression to take effect once the compressor senses an input level change. Longer attack times let through more of a signal's natural dynamics, but those signals are not being compressed. In the days of analog recording, the tape would absorb any overload caused by sudden transients. With digital technology, those transients clip as soon as they exceed 0 VU. Some compressors include a "saturation" option that mimics the way tape works, while others "soft-clip" the signal to avoid overloading subsequent stages. Yet another option is to include a limiter section in the compressor, so that any transients are "clamped" to, say, 0dB.
Decay (also called Release) sets the time required for the compressor to give up its grip on the signal once the input passes below the threshold. Short decay settings are great for special effects, like those psychedelic '60s drum sounds where hitting the cymbal would create a giant sucking sound on the whole kit. Longer settings work well with program material, as the level changes are more gradual and produce a less noticeable effect.
Note that many compressors have an "automatic" option for the Attack and/or Decay parameters. This analyzes the signal at any given moment and optimizes attack and decay on-the-fly. It's not only helpful for those who haven't quite mastered how to set the Attack and Decay parameters, but often speeds up the adjustment process for veteran compressor users.
Output control. As we're squashing peaks, we're actually reducing the overall peak level. This opens up some headroom, so increasing the output level compensates for any volume drop. The usual way to adjust the output control is to turn this control up until the compressed signal's peak levels match the bypassed signal's peak levels. Some compressors include an "auto-gain" or "auto makeup" feature that increases the output gain automatically.
Metering. Compressors often have an input meter, output meter for matching levels between the input and output, and most importantly, a gain reduction meter. (In Fig. 1, the orange bar to the left of the output meter is showing the amount of gain reduction.) If the meter indicates a lot of gain reduction, you're probably adding too much compression.
The input meter in Fig. 1 shows the threshold with a small arrow, so you can see at a glance how much of the input signal is above the threshold.
You'll find the above functions on many compressors. The following features tend to be somewhat less common, but you'll still find them on plenty of products.
Sidechain jacks are available on many hardware compressors, and some virtual compressors include this feature as well (sidechaining became formalized in the VST 3 specification, but it was possible to do in prior VST versions. A sidechain option lets you insert filters in the compressor's feedback loop to restrict compression to a specific frequency range. For example, if you insert a high pass filter, only high frequecies are compressed—perfect for "de-essing" vocals.
The hard knee/soft knee option controls how rapidly the compression kicks in. With a soft knee response, when the input exceeds the threshold, the compression ratio is less at first, then increases up to the specified ratio as the input increases. With a hard knee curve, as soon as the input signal crosses the threshold, it's subject to the full amount of compression. Sometimes this is a variable control from hard to soft, and sometimes it's a toggle choice between the two. Bottom line: use hard knee when you want to clamp levels down tight, and soft when you want a gentler, less audible compression effect.
Compressors are available in hardware (usually a rack mount design or for guitarists, a "stomp box") and as software plug-ins for existing digital audio-based programs. Following is a description of various compressor types.
Fig. 4: Native Instruments' Vintage Compressor bundle includes three different compressors modeled after vintage units.
Fig. 5: Universal Audio's Precision Multiband is a multiband compressor, expander, and gate.
Fig. 6: Cakewalk's PC2A, a compressor/limiter for Sonar's ProChannel module, emulates vintage compression characteristics.
Whatever kind of audio work you do, there's a compressor somewhere in your future. Just don't overcompress—in fact, avoid using compression as a "fix" for bad mic technique or dead strings on a guitar. I wouldn't go as far as those who diss all kinds of compression, but it is an effect that needs to be used subtly to do its best.
Craig Anderton is Executive Editor of Electronic Musician magazine. He has played on, mixed, or produced over 20 major label releases (as well as mastered over a hundred tracks for various musicians), and written over a thousand articles for magazines like Guitar Player, Keyboard, Sound on Sound (UK), and Sound + Recording (Germany). He has also lectured on technology and the arts in 38 states, 10 countries, and three languages.