Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/EnvelopeFollower.h |
Include |
#include "DSP/EnvelopeFollower.h" |
class FEnvelopeFollower
A simple utility that returns a smoothed value given audio input using an RC circuit. Used for following the envelope of an audio stream.
Name | Description | ||
---|---|---|---|
|
float |
AttackTimeMsec |
|
|
float |
AttackTimeSamples |
|
|
bIsAnalog |
||
|
float |
CurrentEnvelopeValue |
|
|
EnvMode |
||
|
float |
ReleaseTimeMsec |
|
|
float |
ReleaseTimeSamples |
|
|
float |
SampleRate |
Name | Description | |
---|---|---|
|
FEnvelopeFollower() |
|
|
FEnvelopeFollower ( |
Name | Description | |
---|---|---|
|
~FEnvelopeFollower() |
Name | Description | ||
---|---|---|---|
|
float |
GetCurrentValue() |
Gets the current envelope value. |
|
Init ( |
Initialize the envelope follower. |
|
|
float |
ProcessAudio ( |
Processes the input audio stream and returns the envelope value. |
|
ProcessAudio ( |
Process the input audio stream in int16 format. |
|
|
float |
ProcessAudioNonClamped ( |
Processes the input audio stream and returns the envelope value. |
|
Reset() |
Resets the state of the envelope follower. |
|
|
SetAnalog ( |
Sets whether or not to use analog or digital time constants. |
|
|
SetAttackTime ( |
Sets the envelope follower attack time (how fast the envelope responds to input) |
|
|
SetMode ( |
Sets the output mode of the envelope follower. |
|
|
SetReleaseTime ( |
Sets the envelope follower release time (how slow the envelope dampens from input) |