Choose your operating system:
Windows
macOS
Linux
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 | |
---|---|---|
|
FEnvelopeFollower() |
Construct an envelope follower. |
|
FEnvelopeFollower ( |
Construct an envelope follower. |
Name | Description | ||
---|---|---|---|
|
GetAnalog() |
Returns whether or not to use analog or digital time constants |
|
|
float |
GetAttackTimeMsec() |
Returns the envelope follower attack time (how fast the envelope responds to input) |
|
const TArray... |
GetEnvelopeValues() |
Retrieve the final values of the envelope for each channel. |
|
EPeakMode::T... |
GetMode() |
Returns the input mode of the envelope follower |
|
GetNumChannels() |
Returns the number of channels per an input frame |
|
|
float |
GetReleaseTimeMsec() |
Returns the envelope follower release time (how slow the envelope dampens from input) |
|
float |
GetSampleRate() |
Returns the number of frames per a second set on initialization |
|
Init ( |
Initialize the envelope follower. |
|
|
ProcessAudio ( |
Calculate envelope per sample. |
|
|
ProcessAudio ( |
Calculate envelope |
|
|
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 input mode of the envelope follower |
|
|
SetNumChannels ( |
Set the number of channels per an input frame. |
|
|
SetReleaseTime ( |
Sets the envelope follower release time (how slow the envelope dampens from input) |