ihateaudio

Audio Compressor (Dynamics)

Tame a recording where the volume keeps jumping around.

Drop an audio file here

or paste one from your clipboard

MP3 · WAV · M4A · AAC · OGG · FLAC and moreYour file stays on your device. Always.

How to use it

  1. Drop the recording onto the page. The transport plays the compressed result, so every change you make is audible immediately against the file you started with.
  2. Start from a preset. Voice and podcast suits anything spoken; gentle is the least destructive place to begin on music.
  3. Move the threshold until the loud moments are being caught and the quiet ones are left alone, then set the ratio to decide how firmly they are held down.
  4. Shape the character with attack and release: a slower attack keeps the punch of consonants and transients, a longer release stops the level pumping between words.
  5. Raise the makeup gain to bring the whole file back up to a usable level, then choose a format and download.

What a compressor is actually doing

A compressor is an automatic volume control with a rule. It watches the level of the signal, and whenever that level rises above the threshold it turns the signal down. Not all the way down, only by the fraction set by theratio. At 4:1, four decibels of input above the threshold come out as one. Below the threshold nothing happens at all, so quiet passages are passed through exactly as they arrived.

The consequence is that the distance between the loudest and quietest parts of the recording shrinks. That is the entire point. A file where someone leans into the microphone and then drifts away is unusable not because it is too loud or too quiet but because it is both, in the same file. Pull the peaks down, then usemakeup gain to lift the whole thing back up, and the quiet parts finish louder than they started while the loud parts land roughly where they were.

Attack and release, the two people get wrong

Attack is how long the compressor waits before clamping down once the signal crosses the threshold. Release is how long it takes to let go afterwards. Both are measured in milliseconds, and both change the character of a recording far more than the ratio does.

A very fast attack of one to three milliseconds catches the initial transient of every consonant, drum hit and pick stroke. That transient is where most of the perceived clarity lives, which is why heavily compressed material sounds soft and far away. Setting the attack to 15–30 ms lets the transient escape and compresses only the body of the sound behind it, which controls the level while keeping the punch.

Release is where the audible artefacts come from. Too short, and the compressor fully recovers during every pause, so the room noise under the voice swells and drops with each syllable. The effect usually described as pumping or breathing. Too long, and it never recovers, so a single loud moment holds everything after it down for seconds. For speech, 100–250 ms is a dependable range. For music, a release roughly in step with the tempo stops the compressor fighting the groove.

When not to compress

If the only problem is that a file is quiet from end to end, compression is the wrong tool: that is a gain or loudness-normalization job and it costs you nothing in dynamics. If a recording is dynamic on purpose. A classical performance, a sound effect, anything where the contrast is the content. Compressing it removes the thing that made it work. And if you are delivering to a streaming platform, they normalize loudness at playback, so compressing harder to be louder does not make you louder. It makes you flatter, at the same volume as everybody else.

Questions

What does the threshold actually set?
The level at which the compressor starts working. Anything below it passes through completely untouched; anything above it gets turned down according to the ratio. Lowering the threshold means more of the recording is being processed, which is why very low thresholds on quiet material sound squashed rather than controlled.
What ratio should I use?
For speech, 3:1 to 5:1 evens out a delivery without drawing attention to itself. Around 2:1 is barely audible and useful for gentle glue on music. Above about 10:1 the compressor is functioning as a limiter. Nothing gets past the threshold by much at all, which is right for peak control and wrong for tone.
Why does a fast attack make things sound dull?
Because the first few milliseconds of a sound carry most of its identity. Clamping down in 1 ms removes the transient of every consonant, drum hit and pick attack, so the result sounds soft and distant. Setting the attack to 15–30 ms lets the transient through and compresses only the body behind it, which keeps the punch.
My voice sounds like it is breathing between words. What is that?
That is pumping, and it is a release time set too short. The compressor recovers fully during each pause, so the room noise underneath the voice audibly swells and drops with every syllable. Take the release up towards 200–300 ms and the movement becomes too slow to hear as an effect.
Is this the same as normalizing?
No, and the two solve opposite problems. Normalizing applies one fixed gain to the entire file and leaves the dynamics exactly as they were. Compression continuously changes the gain based on what the signal is doing, which is what reduces the distance between the loud and quiet parts. Compress first if you need it, then normalize.
What does the knee do?
It controls how abruptly the ratio comes into effect around the threshold. A hard knee of 0 dB means the compressor is entirely off one decibel below and fully engaged one decibel above, which is audible on material that hovers near the line. A soft knee of 10 dB or more eases the ratio in gradually and suits voice and acoustic sources.
Should I compress before or after removing silence?
Remove the silence first. A silence remover works from a level threshold, and compression raises the quiet parts (including room tone) which can lift background noise above that threshold and stop the gaps from being detected at all. Cut first, compress second, set the final level last.