Public Member Functions | Public Attributes | List of all members
EnvelopeFollower::MagnitudeRamp Class Reference

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.
 

Detailed Description

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

Member Function Documentation

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).

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.