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

Public Member Functions

 AttackRelease (float attackTime, float releaseTime)
 
float calculateValue (float input)
 
void setSampleRate (double sampleRate_)
 

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.