
Dynamic range compression (DRC) or simplycompression is anaudio signal processing operation that reduces the volume of loudsounds or amplifies quiet sounds, thus reducing orcompressing anaudio signal'sdynamic range. Compression is commonly used insound recording and reproduction,broadcasting,[1]live sound reinforcement and someinstrument amplifiers.
A dedicated electronic hardware unit or audio software that applies compression is called acompressor. In the 2000s, compressors became available as software plugins that run indigital audio workstation software. In recorded and live music, compression parameters may be adjusted to change the way they affect sounds. Compression andlimiting are identical in process but different in degree and perceived effect. A limiter is a compressor with a highratio and, generally, a shortattack time.
Compression is used to improve performance and clarity inpublic address systems, as aneffect and to improve consistency inmixing andmastering. It is used on voice to reduce sibilance and inbroadcasting andadvertising to make an audio program stand out. It is an integral technology in somenoise reduction systems.
There are two types of compression: downward and upward. Both types of compression reduce thedynamic range of an audio signal.[2]
Downward compression reduces the volume of loud soundsabove a certain threshold. The quiet soundsbelow the threshold remain unaffected. This is the most common type of compressor. Alimiter can be thought of as an extreme form of downward compression as it compresses the sounds over the threshold especially hard.
Upward compression increases the volume of quiet soundsbelow a certain threshold. The louder soundsabove the threshold remain unaffected.
Some compressors also have the ability to do theopposite of compression, namelyexpansion. Expansionincreases the dynamic range of the audio signal.[3] Like compression, expansion comes in two types, downward and upward.
Downward expansion makes the quiet sounds below the threshold even quieter. Anoise gate can be thought of as an extreme form of downward expansion as the noise gate make the quiet sounds (for instance: noise) quieter or even silent, depending on the floor setting.[2]
Upward expansion makes the louder sounds above the threshold even louder.

The signal entering a compressor is split; one copy is sent to avariable-gain amplifier and the other to aside-chain where the signal level is measured and a circuit controlled by the measured signal level applies the required gain to the amplifier. This design, known as afeed-forward type, is used today in most compressors. Earlier designs were based on afeedback layout where the signal level was measured after the amplifier.[4]
There are a number of technologies used for variable-gain amplification, each having different advantages and disadvantages.Vacuum tubes are used in a configuration calledvariable-mu where the grid-to-cathode voltage changes to alter the gain.[5] Optical compressors use aphotoresistor stimulated by a small lamp (incandescent,LED, orelectroluminescent panel)[6] to create changes in signal gain. Other technologies used includefield effect transistors and adiode bridge.[7]
When working with digital audio,digital signal processing (DSP) techniques are commonly used to implement compression asaudio plug-ins, inmixing consoles, and indigital audio workstations. Often the algorithms are used to emulate the above analog technologies.[citation needed]

A number of user-adjustable control parameters and features are used to adjust dynamic range compression signal processing algorithms and components.
A compressor reduces the level of an audio signal if its amplitude exceeds a certainthreshold. Threshold is commonly set indecibels (dBFS for digital compressors anddBu for hardware compressors),[8] where a lower threshold (e.g. −60 dB) means a larger portion of the signal is treated. When the signal level is below the threshold, no processing is performed and the input signal is passed, unmodified, to the output. Thus a higher threshold of, e.g., −5 dB, results in less processing, less compression.
Threshold timing behavior is subject to attack and release settings (seebelow). When the signal level goes above threshold, compressor operation is delayed by theattack setting. For an amount of time determined by therelease after the input signal has fallen below the threshold, the compressor continues to apply dynamic range compression.

The amount of gain reduction is determined byratio: a ratio of 4:1 means that if input level is 4 dB over the threshold, the output signal level is reduced to 1 dB over the threshold. The gain and output level has been reduced by 3 dB. Another way of stating this is that any input signal level over the threshold will, in this case, be output at a level which is only 25%(i.e. 1 over 4) as much over the threshold as its input level was.
The highest ratio of:1 is often known aslimiting, and effectively denotes that any signal above the threshold is brought down to the threshold level once theattack time has expired.

A compressor may provide a degree of control over how quickly it acts. Theattack is the period when the compressor is decreasing gain in response to the increased level at the input to reach the gain determined by the ratio. Therelease is the period when the compressor is increasing gain in response to reduced level at the input to reach the output gain determined by the ratio, or, to unity, once the input level has fallen below the threshold. Because the loudness pattern of the source material is modified by the time-varying operation of compressor, it may change the character of the signal in subtle to quite noticeable ways depending on the attack and release settings used.
The length of each period is determined by the rate of change and the required change in gain. For more intuitive operation, a compressor's attack and release controls are labeled as a unit of time (often milliseconds). This is the amount of time it takes for the gain to change a set amount of dB or a set percentage towards the target gain. There is no industry standard for the exact meaning of these time parameters.[9]
In many compressors, the attack and release times are adjustable by the user. Some compressors, however, have the attack and release times determined by the circuit design and cannot be adjusted. Sometimes the attack and release times areautomatic orprogram dependent, meaning that the behavior may change depending on the input signal.

Another control a compressor might offer is knee selection. This controls whether the bend in the response curve between below threshold and above threshold is abrupt (hard) or gradual (soft). A soft knee slowly increases the compression ratio as the level increases and eventually reaches the compression ratio set by the user. A soft knee reduces the potentially audible transition from uncompressed to compressed, and is especially applicable for higher ratio settings where the changeover at the threshold would be more noticeable.[10]
A peak-sensing compressor responds to the peak level of the input signal. While providing tighter peak level control, peak level sensing does not necessarily relate to human perception of loudness. Some compressors apply a power measurement function (commonlyroot mean square or RMS) on the input signal before comparing its level to the threshold. This produces a more relaxed compression that more closely relates to human perception of loudness.
A compressor instereo linking mode applies the same amount of gain reduction to both the left and right channels. This is done to prevent image shifting that can occur if each channel is compressed individually.[11]
Because a downward compressor only reduces the level of the signal, the ability to add a fixed amount ofmake-up gain at the output is usually provided so that an optimum output level is produced.
The look-ahead function is designed to overcome the problem of being forced to compromise between slow attack rates that produce smooth-sounding gain changes, and fast attack rates capable of catching transients. Look-ahead is implemented by splitting the input signal and delaying one side (the audio signal) by the look-ahead time. The non-delayed side (the gain control signal) is used to drive the compression of the delayed signal, which then appears at the output. This way a smooth-sounding slower attack rate can be used to catch transients. The cost of this solution is addedaudio latency through the processor.
Compression is often applied in audio systems for restaurants, retail, and similar public environments that play background music at a relatively low volume and need it compressed, not just to keep the volume fairly constant, but also to make quiet parts of the music audible over ambient noise.
Compression can increase average output gain of apower amplifier by 50 to 100% with a reduced dynamic range.[citation needed] For paging and evacuation systems, this adds clarity under noisy circumstances and saves on the number of amplifiers required.

Compression is often used in music production to make instruments more consistent in dynamic range, so that they "sit" more nicely in the mix with the other instruments (neither disappear during short periods of time, nor overpower the other instruments during short periods).[12] Vocal performances inrock music orpop music are compressed for the same reason.
Compression can also be used on instrument sounds to create effects not primarily focused on stabilizing the volume. For instance, drum and cymbal sounds tend to decay quickly, but a compressor can make the sound appear to have a more sustained tail. Guitar sounds are often compressed to produce a fuller, more sustained sound.
Most devices capable of compressing audio dynamics can also be used to reduce the volume of one audio source when another audio source reaches a certain level; this is calledside-chaining.[13] Inelectronic dance music, side-chaining is often used onbasslines, controlled by the kick drum or a similar percussive trigger, to prevent the two from conflicting, and provide a pulsating, rhythmic dynamic to the sound.
A compressor can be used to reducesibilance ('ess' sounds) in vocals (de-essing) by feeding the compressor's side-chain anequalized version of the input signal, so that specific, sibilance-related frequencies (typically 4000 to 8000 hz) activate the compressor more.[14]
Compression is used in voice communications inamateur radio that employsingle-sideband (SSB) modulation to make a particular station's signal more readable to a distant station, or to make one's station's transmitted signal stand out against others. This is applicable especially inDXing. An SSB signal's strength depends on the level ofmodulation. A compressor increases the average level of the modulation signal thus increasing the transmitted signal strength. Most modern amateur radio SSB transceivers have speech compressors built-in. Compression is also used inland mobile radio, especially in transmitted audio of professionalwalkie-talkies andremote control dispatch consoles.[15]
Compression is used extensively inbroadcasting to boost the perceived volume of sound while reducing the dynamic range of source audio. To avoidovermodulation, broadcasters in most countries have legal limits on instantaneous peak volume they may broadcast. Normally these limits are met by permanently inserted compression hardware in the on-air chain.
Broadcasters use compressors in order that their station sounds louder than comparable stations. The effect is to make the more heavily compressed station jump out at the listener at a given volume setting.[12] This is not limited to inter-channel differences; they also exist between programme material within the same channel. Loudness differences are a frequent source of audience complaints, especially TV commercials and promos that seem too loud.
TheEuropean Broadcasting Union (EBU) has been addressing this issue in the EBU PLOUD group, which consists of over 240 audio professionals, many from broadcasters and equipment manufacturers. In 2010, the EBU publishedEBU R 128 which introduces a new way of metering andnormalizing audio. The Recommendation usesITU-R BS.1770 loudness metering. As of 2016[update], several European TV stations have announced their support for the new norm[16][17] and over 20 manufacturers have announced products supporting the newEBU Mode loudness meters.[18][failed verification]
To help audio engineers understand what loudness range their material consists of (e.g. to check if some compression may be needed to fit it into the channel of a specific delivery platform), the EBU also introduced theLoudness Range (LRA) descriptor.[19]
Most television commercials are heavily compressed to achieve near-maximum perceived loudness while staying within permissible limits. This causes a problem that TV viewers often notice: when a station switches from minimally compressed program material to a heavily compressed commercial, the volume sometimes seems to increase dramatically. Peak loudness might be the same—meeting the letter of the law—but high compression puts much more of the audio in the commercial at close to the maximum allowable, making the commercial seem much louder.[20]

Record companies, mixing engineers and mastering engineers have been gradually increasing the overallloudness of commercial albums. This is achieved by using higher degrees of compression and limiting duringmixing andmastering; compression algorithms have been engineered specifically to accomplish the task of maximizing audio level in the digital stream. Hard limiting orclipping can result, affecting the tone and timbre of the music. The effort to increase loudness has been referred to as theloudness war.
Noise reduction systems use a compressor to reduce the dynamic range of a signal for transmission or recording, expanding it afterward, a process calledcompanding. This reduces the effects of a channel or recording medium with limited dynamic range.
Instrument amplifiers often include compression circuitry to prevent sudden high-wattage peaks that could damage the speakers.Electric bass players often use compression effects, eithereffects units available in pedal,rackmount units, or built-in devices in bass amps, to even out the sound levels of theirbasslines.
Gain pumping, where a regular amplitude peak (such as a kick drum) causes the rest of the mix to change in volume due to the compressor, is generally avoided in music production. However, manydance and hip-hop musicians purposefully use this phenomenon, causing the mix to alter in volume rhythmically in time with the beat.[21]
Hearing aids use a compressor to bring the audio volume into the listener's hearing range. To help the patient perceive the direction sound comes from, some hearing aids usebinaural compression.[22]
Compressors are also used forhearing protection in some electronic active hearing protectionearmuffs andearplugs, to let sounds at ordinary volumes be heard normally while attenuating louder sounds, possibly also amplifying softer sounds. This allows, for example, shooters wearing hearing protection at a shooting range to converse normally, while sharply attenuating the much louder sounds of the gunshots,[23] and similarly for musicians to hear quiet music but be protected from loud noises such as drums or cymbal crashes.[citation needed]
In applications of machine learning where an algorithm is training on audio samples, dynamic range compression is a way to augment samples for a larger data set.[24]

Compression and limiting are identical in process but different in degree and perceived effect. Alimiter is a compressor with a high ratio and, generally, a fast attack time. Compression with ratio of 10:1 or more is generally considered limiting.[25]
Brick wall limiting has a very high ratio and a very fast attack time. Ideally, this ensures that an audio signal never exceeds the amplitude of the threshold. Ratios of 20:1 all the way up to ∞:1 are consideredbrick wall.[25] The sonic results of more than momentary and infrequent brick-wall limiting are harsh and unpleasant, thus it is more common as a safety device in live sound and broadcast applications.
Somebass amps andPA system amplifiers include limiters to prevent sudden volume peaks from causing distortion or damaging the speakers.


A compressor with a side-chain input controls gain from main input to output based on the level of the signal at the side-chain input.[26] An early innovator of side-chain compression in an effects unit was theEventide Omnipressor from 1974.[27] With side-chaining, the compressor behaves in the conventional manner when both main and side-chain inputs are supplied with the same signal.
The side-chain input is used bydisc jockeys forducking – lowering the music volume automatically when speaking. The DJ's microphone signal is routed to the side-chain input so that whenever the DJ speaks the compressor reduces the volume of the music.
A sidechain withequalization controls can be used to reduce the volume of signals that have a strong spectral content within a certain frequency range: it can act as ade-esser, reducing the level of vocalsibilance in the range of 6–9 kHz.[28] Another use of the side-chain in music production serves to maintain a loud bass track without thebass drum causing undue peaks that result in loss of overallheadroom.[26]
Inserting the compressor in a parallel signal path is known asparallel compression. It is a form of upward compression that facilitates dynamic control without significant audible side effects so long as the ratio is relatively low and the compressor's sound is relatively neutral. On the other hand, a high compression ratio with significant audible artifacts can be chosen in one of the two parallel signal paths. This is used by some concert mixers and recording engineers as an artistic effect calledNew York compression orMotown compression. Combining a linear signal with a compressor and then reducing the output gain of the compression chain results in low-level detail enhancement without any peak reduction; The compressor significantly adds to the combined gain at low levels only.
Multiband compressors can act differently on different frequency bands. The advantage of multiband compression over full-bandwidth compression is that problems related to a specific frequency range can be fixed without unnecessary compression in the other, unrelated frequencies. The downside is that frequency-specific compression is more complex and requires more processing capacity than full-bandwidth compression and can introduce phase issues.[29]
Multiband compressors work by first splitting the signal through some number ofband-pass filters,crossover filters orfilter banks. Each split signal then passes through its own compressor and is independently adjustable for threshold, ratio, attack, and release. The signals are then recombined and an additional limiting circuit may be employed to ensure that the combined signals do not create unwanted peak levels.
In music production, multiband compressors are primarily anaudio mastering tool, but their inclusion indigital audio workstation plug-in sets is increasing their use among mix engineers. The TC Electronic Finalizer included a three band compressor and was a popularaudio mastering tool around year 2000.[30]
On-air signal chains ofradio stations commonly use multiband compressors to increaseloudness while avoidingovermodulation. Having a louder sound is often considered an advantage in commercial broadcasting.
Serial compression is a technique used insound recording andmixing. Serial compression is achieved by using two fairly different compressors in a signal chain. One compressor generally stabilizes thedynamic range while the other aggressively compresses stronger peaks. This is the normal internal signal routing in common combination devices marketed ascompressor-limiters, where an RMS compressor (for general gain control) is followed by a fast peak-sensing limiter (for overload protection). Done properly, even heavy serial compression can sound natural in a way not possible with a single compressor. It is most often used to even out erraticvocals andguitars.
Somesoftware audio players supportplugins that implement compression. These can increase loudness of audio tracks, or level out the volume of highly-variable music (such asclassical music, or a playlist that spans multiple music types). This improves the listenability of audio played through poor-quality speakers, or when played in noisy environments (such as in a car or during a party).
In an article published in January 2014 by theJournal of the Audio Engineering Society, Emmanuel Deruty and Damien Tardieu performed a systematic study describing the influence of compressors and brickwall limiters on the musical audio signal. The experiment involved four software limiters: Waves L2, Sonnox Oxford Limiter, Thomas Mundt's Loudmax, Blue Cat's Protector, as well as four software compressors: Waves H-Comp, Sonnox Oxford Dynamics, Sonalksis SV-3157, and URS 1970. The study provides objective data on what limiters and compressors do to the audio signal.[31]
Five signal descriptors were considered:RMS power,EBU R 128 integrated loudness,[18]crest factor, R 128 LRA,[19] and density of clipped samples. RMS power accounts for the signal's physical level, R 128 loudness for the perceived level.[18] The crest factor, which is the difference between the signal's peak and its average power,[31] is on occasions considered as a basis for the measure of micro-dynamics, for instance in theTT Dynamic Range Meter plug-in.[32] Finally, R 128 LRA has been repeatedly considered as a measure of macro-dynamics or dynamics in the musical sense.[31][33][34][35][36]
The tested limiters had the following influence on the signal:
In other words, limiters increase both physical and perceptual levels, increase the density of clipped samples, decrease the crest factor and decrease macro-dynamics (LRA) given that the amount of limiting is substantial.
As far as the compressors are concerned, the authors performed two processing sessions, using a fast attack (0.5 ms) in one case, and a slow attack (50 ms) in the other. Make-up gain is deactivated, but the resulting file is normalized.
Set with a fast attack, the tested compressors had the following influence on the signal:
In other words, fast-attack compressors increase both physical and perceptual levels, but only slightly. They decrease the density of clipped samples, and decrease both crest factor and macro-dynamics.
Set with a slow attack, the tested compressors had the following influence on the signal:
In other words, slow-attack compressors decrease both physical and perceptual levels, decrease macro-dynamics, but have no influence on crest factor and clipped sample density.
There is no industry standard and different manufacturers define [release time] differently.
They are comfy for hours with their gel caps, have easily accessible button controls, great sound cutoff and compression, and allow for earplugs if the decent 22db NRR doesn't cut it.
{{cite journal}}:Cite journal requires|journal= (help)