This algorithm uses two different times for attack and decay. More...
Public Member Functions | |
AttackRelease (float attackTime, float releaseTime) | |
Creates a new envelope follower using the supplied parameters. More... | |
float | calculateValue (float input) |
Returns the envelope value. More... | |
void | setSampleRate (double sampleRate_) |
You have to call this before any call to calculateValue. More... | |
This algorithm uses two different times for attack and decay.
AttackRelease | ( | float | attackTime, |
float | releaseTime | ||
) |
Creates a new envelope follower using the supplied parameters.
You have to call setSampleRate before you can use it.
float calculateValue | ( | float | input | ) |
Returns the envelope value.
void setSampleRate | ( | double | sampleRate_ | ) |
You have to call this before any call to calculateValue.