Gin
|
Compressor / Gate / Expander / Limiter based on algorithm from Designing Audio Effect Plug-ins in C++ by Will Pirkle. More...
Public Types | |
enum | Type { compressor , limiter , expander , gate } |
Public Member Functions | |
Dynamics ()=default | |
~Dynamics ()=default | |
void | setSampleRate (double sampleRate) |
void | setNumChannels (int ch) |
void | setMode (Type t) |
void | setLinked (bool l) |
void | setParams (float attackS, float holdS, float releaseS, float thresh, float ratio, float kneeWidth) |
void | setInputGain (float g) |
void | setOutputGain (float g) |
void | reset () |
void | process (juce::AudioSampleBuffer &buffer, juce::AudioSampleBuffer *envelopeOut=nullptr) |
const LevelTracker & | getInputTracker () |
const LevelTracker & | getOutputTracker () |
const LevelTracker & | getReductionTracker () |
float | calcCurve (float detectorValue) |
Compressor / Gate / Expander / Limiter based on algorithm from Designing Audio Effect Plug-ins in C++ by Will Pirkle.
enum Dynamics::Type |
|
default |
|
default |
void Dynamics::setSampleRate | ( | double | sampleRate | ) |
void Dynamics::setNumChannels | ( | int | ch | ) |
void Dynamics::setMode | ( | Type | t | ) |
void Dynamics::setLinked | ( | bool | l | ) |
void Dynamics::setParams | ( | float | attackS, |
float | holdS, | ||
float | releaseS, | ||
float | thresh, | ||
float | ratio, | ||
float | kneeWidth | ||
) |
void Dynamics::setInputGain | ( | float | g | ) |
void Dynamics::setOutputGain | ( | float | g | ) |
void Dynamics::reset | ( | ) |
void Dynamics::process | ( | juce::AudioSampleBuffer & | buffer, |
juce::AudioSampleBuffer * | envelopeOut = nullptr |
||
) |
const LevelTracker& Dynamics::getInputTracker | ( | ) |
const LevelTracker& Dynamics::getOutputTracker | ( | ) |
const LevelTracker& Dynamics::getReductionTracker | ( | ) |
float Dynamics::calcCurve | ( | float | detectorValue | ) |