TracktionEngine
Public Member Functions | List of all members
tracktion::engine::AudioFileUtils::EnvelopeFollower Class Reference

Public Member Functions

 EnvelopeFollower ()
 
void processEnvelope (const float *inputBuffer, float *outputBuffer, int numSamples) noexcept
 
void setCoefficients (float attack, float release) noexcept
 Sets the times for the vaious stages of the envelope. More...
 

Constructor & Destructor Documentation

◆ EnvelopeFollower()

tracktion::engine::AudioFileUtils::EnvelopeFollower::EnvelopeFollower ( )

Member Function Documentation

◆ processEnvelope()

void tracktion::engine::AudioFileUtils::EnvelopeFollower::processEnvelope ( const float *  inputBuffer,
float *  outputBuffer,
int  numSamples 
)
noexcept

◆ setCoefficients()

void tracktion::engine::AudioFileUtils::EnvelopeFollower::setCoefficients ( float  attack,
float  release 
)
noexcept

Sets the times for the vaious stages of the envelope.

1 is an instant attack/release, 0 will never change the value.


The documentation for this class was generated from the following file: