All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | Public Attributes | List of all members
EnvelopeFollower::MagnitudeRamp Class Reference

Public Member Functions

void setRampLength (int newRampLength)
 
float getEnvelopeValue (float inputValue)
 

Public Attributes

int size
 

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

Member Data Documentation

int size

The size of the buffer

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