Compressor/Expander
Compressor/Expander reduces (or expands) the gap between the loudest and quietest parts of a recording, evening out dynamics.
Parameters
| Parameter | Type | Range | Default | What it does |
|---|---|---|---|---|
| Threshold | number | -60 to 0 dB | -20 dB | Level above which compression engages. |
| Ratio | number | 1 to 20 | 4 (i.e. 4:1) | How strongly the signal is compressed above the threshold. |
| Attack | number | 5 to 500 ms (label) | 50 ms | How quickly compression engages once the signal crosses the threshold. |
| Release | number | 50 to 1000 ms (label) | 200 ms | How quickly compression backs off once the signal drops below the threshold. |
Note: Attack and Release currently behave much faster than their millisecond labels suggest — both react roughly 1000× faster than the slider implies, due to a unit-conversion step in how the value is passed to the underlying processor. In practice, treat the sliders as relative (higher = still somewhat slower) rather than literal millisecond values, and dial in by ear rather than by the number.
See also
Limiter for a harder ceiling on peaks; Gate for silencing quiet sections rather than compressing loud ones.
Control preview
JSON structure
{
"id": "acompressor",
"enabled": true,
"params": {
"threshold": -20,
"ratio": 4,
"attacks": 50,
"decays": 200
}
}