Pocket Compressor
Peak compressor with threshold, ratio up to infinity, attack, hold, release, auto gain, an output level and a detector input gain. Rebuilt from FL Studio Mobile's Compressor.

Pocket Compressor reduces the level of the loud parts of a track. A peak detector with hold reads the louder of the two channels and one gain is applied to both. It is the engine that FL Studio Mobile projects (.flm) load their Compressor module on, with every value copied as it is, and it can also be added to any mixer slot.
Controls
| Control | What it does |
|---|---|
| Thresh | Level above which compression starts, -40 dB to 0 dB. |
| Ratio | 1:1 to 20:1 on a square law. The top of the range reads +inf and holds the level at the threshold. |
| Attack | How fast the detector follows a rising level, 0 to 50 ms on a square law. |
| Release | How fast the held peak falls after the hold time, 10 ms to 500 ms on a square law. |
| Level | Output gain. With Auto gain on it reads -20 dB to +20 dB, with Auto gain off 0 dB to +40 dB for the same knob travel. |
| Hold | Time the detector keeps a peak before the release starts, 0 to 50 ms on a square law. |
| Auto gain | Adds make-up gain worked out from Thresh and Ratio, so that a full-scale input comes out at full scale. |
| Input gain | Gain of the signal that feeds the detector only, -20 dB to +20 dB. It does not change the level of the audio itself. |
| RMS | Stored for compatibility. FL Studio Mobile never turns it on, so it always reads Off and has no effect. |
Tips
- Switching Auto gain moves the Level read-out by 20 dB and the output level with it. Check Level after changing it.
- There is no look-ahead and no latency.