Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Audio Compressor Effect

Reference for the Audio Compressor Effect, which compresses an audio signal's dynamic range.
Read time 1 minuteLast updated 7 days ago

The Audio Compressor Effect reduces the volume of loud sounds or amplifies quiet sounds by narrowing or "compressing" an audio signal's dynamic range.
This compressor is a limiter with a fixed ratio of ∞:1. This means that the compressor clamps the signal output when it reaches the threshold.

Properties

The AudioGroup Inspector displays the configurable properties of an Audio Compressor Effect.

Property:

Function:

ThresholdThreshold level in dB (range 0 to -60dB, default = 0dB).
AttackThe rate the effect is applied in ms. (range 10.0 to 200.0 ms, default = 50.0 ms).
ReleaseThe rate the effect is released in ms. (range 20.0 to 1000.0 ms, default = 50.0 ms).
Make up gainMake up gain level in dB (range 0 to 30dB, default = 0dB).