Compressor

Basic compressor

Members

Functions

calcCompressorGain
float calcCompressorGain(float detectorValue, float threshold, float ratio, float kneeWidth)

This is the function that does most of the work with calculating compression

getNextSample
T getNextSample(T input)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_limit
bool _limit;

If set to true, ratio will become infinite and result in limiting

Meta