This envelope following algorithm stores values in a temporary buffer and ramps between the magnitudes. More...
Public Member Functions | |
| float | getEnvelopeValue (float inputValue) |
| Returns the calculated value. More... | |
| void | setRampLength (int newRampLength) |
| Set the length of the ramp (also the size of the temporary buffer and thus the delay of the ramping). More... | |
Public Attributes | |
| int | size |
| The size of the buffer. | |
This envelope following algorithm stores values in a temporary buffer and ramps between the magnitudes.
The output is the nicest one (almost no ripple), but you will get a latency of the ramp length
| float getEnvelopeValue | ( | float | inputValue | ) |
Returns the calculated value.
| void setRampLength | ( | int | newRampLength | ) |
Set the length of the ramp (also the size of the temporary buffer and thus the delay of the ramping).