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

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

Detailed Description

This algorithm uses two different times for attack and decay.

Constructor & Destructor Documentation

AttackRelease ( float  attackTime,
float  releaseTime 
)

Creates a new envelope follower using the supplied parameters.

You have to call setSampleRate before you can use it.

Member Function Documentation

float calculateValue ( float  input)

Returns the envelope value.

void setSampleRate ( double  sampleRate_)

You have to call this before any call to calculateValue.

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