Audio Compressor

Set a threshold and a ratio. Samples over the threshold are pulled down. Quieter samples stay.

Use this tool

Drop a file here, or use the picker. The file type is checked from its contents.

Result

The result appears in this panel after you run the tool.

About this tool

Makeup gain is not applied. Add it later if you want the peak back.

How to use it

  1. Choose a WAV, AIFF, or MP3.
  2. Set the threshold and the ratio. A ratio of 1 changes nothing.
  3. Download the WAV. There is no makeup gain. The peak will usually be lower.

Limitations

A ratio above the threshold, sample by sample

The curve

The threshold is a decibel level turned into an amplitude. Negative twelve is about 0.25. A sample whose absolute value is at or under that line is copied. A sample above it is rewritten so the amount by which it exceeds the line, measured as a ratio of amplitudes, is raised to the power of one over the ratio you set. A ratio of 3 means a sample that was twice the threshold becomes the threshold times two to the power of one third, which is a smaller excess. A ratio of 1 leaves every sample alone, because any number to the power of one is itself. A ratio of 20 is a hard squeeze, still computed one sample at a time. The sign of the sample is kept. The value is then clamped to the legal range, which matters only if the math overshoots.

What is missing

A studio compressor waits an attack time before it reduces gain, and it lets go over a release time. That memory is why a drum hit can stay punchy. This curve has no memory. A single loud sample is reduced even if its neighbors are quiet. The result can sound harsh on transients compared with a compressor that has a 10 millisecond attack. There is no knee control. The bend starts exactly at the threshold. There is no makeup gain, so the file often gets quieter. Peak Normalization after this page can put the new peak where you want it without undoing the reduced dynamic range. Doing the makeup inside this page would hide whether the curve had worked.

Not a limiter for broadcast

A broadcast limiter has a ceiling, lookahead, and a true-peak target. This page has a ratio and a threshold. It will not guarantee a peak of negative one true-peak. It will not pass a loudness spec. Use it when you want loud samples closer to the threshold and quiet samples left in place. If the whole file should simply be quieter or louder, Volume Change is the smaller tool and does not reshape the wave.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.