A simple limiter with standard threshold and release time controls, featuring two compressors and a hard clipper at 0 dB. More...
#include <juce_Limiter.h>
Public Member Functions | |
Limiter ()=default | |
Constructor. | |
void | setThreshold (SampleType newThreshold) |
Sets the threshold in dB of the limiter. | |
void | setRelease (SampleType newRelease) |
Sets the release time in milliseconds of the limiter. | |
void | prepare (const ProcessSpec &spec) |
Initialises the processor. | |
void | reset () |
Resets the internal state variables of the processor. | |
template<typename ProcessContext > | |
void | process (const ProcessContext &context) noexcept |
Processes the input and output samples supplied in the processing context. | |
A simple limiter with standard threshold and release time controls, featuring two compressors and a hard clipper at 0 dB.
|
default |
Constructor.
void dsp::Limiter< SampleType >::setThreshold | ( | SampleType | newThreshold | ) |
Sets the threshold in dB of the limiter.
void dsp::Limiter< SampleType >::setRelease | ( | SampleType | newRelease | ) |
Sets the release time in milliseconds of the limiter.
void dsp::Limiter< SampleType >::prepare | ( | const ProcessSpec & | spec | ) |
Initialises the processor.
void dsp::Limiter< SampleType >::reset | ( | ) |
Resets the internal state variables of the processor.
|
noexcept |
Processes the input and output samples supplied in the processing context.
References jassert.