DaisySP
|
#include <limiter.h>
Public Member Functions | |
void | Init () |
void | ProcessBlock (float *in, size_t size, float pre_gain) |
Simple Peak Limiter
This was extracted from pichenettes/stmlib.
Credit to pichenettes/Mutable Instruments
void daisysp::Limiter::Init | ( | ) |
Initializes the Limiter instance.
void daisysp::Limiter::ProcessBlock | ( | float * | in, |
size_t | size, | ||
float | pre_gain ) |
Processes a block of audio through the limiter.
in | - pointer to a block of audio samples to be processed. The buffer is operated on directly. |
size | - size of the buffer "in" |
pre_gain | - amount of pre_gain applied to the signal. |