Jamoma API  0.6.0.a19

TTLimiter implements a lookahead limiter processor for controlling the dynamics of an input. More...

#include "TTLimiter.h"
+ Include dependency graph for TTLimiter.cpp:

Go to the source code of this file.

Detailed Description

TTLimiter implements a lookahead limiter processor for controlling the dynamics of an input.

The way this works is by buffering the input, and delaying it by N samples. That way we are able to see what the output will be some amount of time prior to actually outputting it, and adjust the gain accordingly.

After some preprocessing to adjust gain and filter DC offsets on the input, we have an analysis stage. The analysis stage looks at the sample value for each channel at the input, and then uses the hottest sample to calculate the gain adjust that needs to be applied.

The release attribute (specified in seconds) determines how long it takes for a gain reduction to "wear off" once the amplitude level of the input has been reduced.

Authors
Tim Place, Trond Lossius

Definition in file TTLimiter.cpp.