TracktionEngine
Loading...
Searching...
No Matches
engine::AudioFileUtils::EnvelopeFollower Class Reference

#include <tracktion_AudioFileUtils.h>

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.

Constructor & Destructor Documentation

◆ EnvelopeFollower()

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

Member Function Documentation

◆ processEnvelope()

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

◆ setCoefficients()

void 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: