How compressors actually work: threshold, ratio, attack and release you can hear

Compression gets sold as a way to make things louder, and that framing causes most of the confusion around it. A compressor does not make anything louder on its own. It reduces the distance between the quietest and loudest parts of a signal, and that narrower range is what then gets turned up without clipping. Everything a compressor does follows from that one idea: it is a tool for controlling range, not volume.

The four core controls, threshold, ratio, attack and release, are usually taught as isolated settings. They only make sense together, and the sections below build them up through what you actually hear rather than what each knob is labeled.

Threshold and ratio: when it kicks in, and how hard

Threshold sets the level a signal has to cross before the compressor does anything at all. Below threshold, the signal passes through completely untouched. Above it, the compressor starts pulling the level down.

Ratio decides how hard that pull is. A 2:1 ratio is gentle, for every 2dB the signal goes over the threshold, only 1dB gets through. A 10:1 ratio is aggressive, 10dB over threshold becomes just 1dB of actual increase, which is close to the territory where a compressor starts behaving like a limiter. Low ratios are for smoothing a signal without it being obvious. High ratios are for catching peaks that would otherwise blow past everything around them.

Threshold and ratio together decide how much gain reduction happens. Neither one means anything on its own, a low threshold with a low ratio can produce the same amount of reduction as a high threshold with a high ratio, just shaped differently.

Attack: the most underrated decision on the compressor

Attack is how long the compressor waits, after the signal crosses the threshold, before it actually starts reducing gain. This single setting decides whether the initial transient, the sharp, percussive front edge of a sound, gets through untouched or gets caught by the compressor along with everything else.

A fast attack grabs that transient immediately, which tames sharp peaks but can also drain the punch out of a drum hit if pushed too far. A slow attack lets the transient pass through uncompressed before the compressor engages, which is exactly how many drum bus compressors add perceived punch: the initial hit stays sharp, and only the sustain gets pulled down afterward. There is no universally correct attack time. The decision is always about which part of the sound you want to protect and which part you are willing to control.

Release: letting go, and the risk of pumping

Release controls how long the compressor takes to stop reducing gain once the signal drops back below the threshold. A fast release lets the signal snap back to full level almost immediately, which can sound energetic on a bassline but audibly pumps if it happens in time with the beat in a way you did not intend. A slow release holds the gain reduction longer, smoothing things out but risking a compressor that never fully lets go between hits, flattening the dynamics of an entire passage.

This is also the setting most responsible for the classic sidechain pumping effect used deliberately in house and techno, where a bass or pad audibly ducks and swells in time with the kick. Used on purpose, it is a rhythmic tool. Used by accident, on a vocal or a full mix, it just sounds like the track is breathing when it should not be. Attack and release on a compressor are conceptually close to the attack and release stages of an ADSR envelope, they both describe how something changes over time, just applied to gain reduction instead of a note.

Case study: leveling an uneven vocal

A vocal that jumps between whisper-quiet and suddenly loud is the textbook use case for compression as a leveling tool. A moderate threshold, a ratio around 3:1 to 4:1, a fast-ish attack to catch the loud moments, and a medium release that lets the gain recover between phrases rather than mid-word, brings the quiet and loud parts closer together without anyone noticing the compressor is there. The goal in this case is invisibility: if a listener can point to the exact moment compression is happening, it is usually working too hard.

Case study: punchy drums without killing them

Drum bus compression asks for the opposite instinct. Here, a slower attack, enough to let the initial transient of the kick and snare through uncompressed, paired with a fast to medium release and a moderate ratio, adds glue and perceived punch instead of squashing everything flat. The compressor is doing real work, gain reduction is happening, but it is acting on the tail of each hit rather than the strike itself, which is why the result sounds more powerful instead of smaller.

Interactive tool: Compressor Visualizer
Try this now

Set up the vocal-leveling case first: moderate threshold, ratio around 3:1, fast attack, medium release, and watch how consistently the gain reduction meter moves. Then, without resetting, slow the attack down significantly and switch to a fast release. Notice how the same source now pumps and breathes instead of sitting still, even though threshold and ratio never changed.

Compression is a decision, not a volume boost

Every setting on a compressor is really a decision about which part of a sound to protect and which part to control. Threshold and ratio decide how much happens. Attack and release decide when it happens, and it is that timing, more than the amount of gain reduction, that determines whether compression sounds transparent, punchy, or obviously pumping.

Compression sits naturally after EQ in most mixing workflows, since a cleaner frequency balance gives a compressor less unwanted material to react to. Our article on EQ basics covers that earlier step, and the attack and release logic here connects directly back to ADSR envelopes if you want to see the same time-based thinking applied to synthesis instead of dynamics.

OHXALA RECORDS Academy

Electronic Music Production for Beginners

Mixing fundamentals like this one, taught in sequence, with hands-on assignments and the full library of interactive tools.

Explore the course ↗

EQ basics for electronic music: an interactive guide

EQ is usually taught as a list: sub bass here, low mids there, presence around here, air up top. The list is accurate and mostly useless on its own, because nobody reaches for EQ because they want to adjust "low mids." They reach for it because the kick and the bass are fighting, or the vocal sounds dull, or the hi-hats are cutting through like glass. This article works backward from those problems instead of forward from a frequency chart.

Each section below names a problem you can actually hear, then explains which part of the spectrum is usually responsible. The EQ visualizer embedded further down lets you create and hear each fix directly.

Learn the spectrum by ear, not by numbers

Before fixing anything, it helps to know roughly what lives where. Sub bass, below about 60Hz, is felt more than heard, the low end of a kick or a sub bass patch. Bass, from roughly 60Hz to 250Hz, is where most of the punch and warmth of kicks, basslines and low toms live. Low mids, 250Hz to 500Hz, is the zone most responsible for a mix sounding muddy when it has too much energy. Mids, 500Hz to 2kHz, carry the body of vocals, snares and most melodic instruments. Upper mids, 2kHz to 6kHz, is where presence and clarity live, and also where harshness creeps in in when pushed too hard. Air, above roughly 8kHz, adds sparkle and openness without much perceived loudness.

None of these boundaries are exact, and every source overlaps its neighbors. The goal is not to memorize the numbers, it is to build a rough map so that when something sounds muddy or harsh, you already have a guess about where to look before you touch a single knob.

Cut before you boost

The single most underused habit in EQ is cutting instead of boosting. Boosting a frequency adds energy and often adds loudness, which can trick your ears into thinking a change sounds better simply because it is louder. Cutting removes energy that is competing with something else, which usually creates more actual clarity than any boost does.

A practical default: if a sound feels thin, resist the urge to boost highs first. Try cutting the low mids of a competing element instead. Clarity in a mix is often less about adding brightness and more about removing the mud that was hiding it.

The kick and bass problem

This is the most common frequency conflict in electronic music. Both the kick and the bass want to live in roughly the same 60Hz to 150Hz zone, and when they both get full energy there, the low end turns into an undefined rumble instead of two distinct, punchy elements.

The standard fix is complementary EQ: decide which element owns which part of the low end, then cut the other one out of that space. A common approach gives the kick a focused punch around 60 to 80Hz and a click around 2 to 4kHz for attack, while the bass gets a gentle cut in that same 60 to 80Hz pocket so it does not compete, keeping its own weight lower or higher depending on the sound. Neither element needs to disappear from the other's range entirely, but giving each one a zone where it is dominant is what makes a low end read as tight instead of muddy.

Making space for a vocal or lead

A vocal or lead that sounds dull or buried usually has nothing wrong with it in isolation. The problem is usually a low mid buildup around 250 to 500Hz coming from pads, guitars or synth layers stacked underneath it, masking the exact range where vocal warmth and clarity live.

A small, wide cut in that 250 to 500Hz range on the supporting elements, rather than a boost on the vocal itself, is often the fastest way to make a vocal or lead cut through without sounding artificially bright. Boosting the vocal to compensate for a crowded mix usually just makes everything louder together, not clearer.

Taming harshness and excess brightness

Harshness usually sits in the upper mids, roughly 2 to 5kHz, the same range responsible for presence when used well. Pushed too far, that same range turns aggressive, tiring to listen to at volume, and fatiguing over a full track. Hi-hats, cymbals and bright synth leads are the usual sources.

A narrow cut in the specific frequency where the harshness lives, found by sweeping a boosted band until the offending frequency jumps out, then pulling it down instead of boosting it, is the standard technique here. It is more surgical than a broad high cut, which tends to dull the whole sound instead of removing just the offending sliver.

Interactive tool: EQ Visualizer
Try this now

Recreate all three fixes from this article in the visualizer above. First, cut around 250 to 400Hz to hear how low mid removal changes clarity. Then set up a narrow cut around 3kHz and sweep it back and forth to hear how a small frequency range can sound harsh in isolation even when it barely changes the overall tone. Finally, try a gentle cut on one band around 70Hz and notice how much punch you can remove without the sound feeling thin.

EQ solves problems, not taste

Every example above is a subtractive fix, removing something that is getting in the way of something else. Boosting has its place too, mostly for adding character rather than fixing conflicts, but it is worth building the habit of reaching for a cut first. A mix with every element gently making room for its neighbors, rather than every element fighting to be loudest, is what actually reads as professional, regardless of genre.

If you are still deciding what to build a sound out of in the first place, our article on how synthesizers work and the follow-up on ADSR envelopes cover the earlier steps in that chain.

OHXALA RECORDS Academy

Electronic Music Production for Beginners

Mixing fundamentals like this one, taught in sequence, with hands-on assignments and the full library of interactive tools.

Explore the course ↗