Navigation
API > API/Runtime > API/Runtime/SignalProcessing
Sample accurate attack-decay style envelope generator
| Name | FADEnvelope |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/Envelope.h |
| Include Path | #include "DSP/Envelope.h" |
Syntax
class FADEnvelope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FADEnvelope() |
DSP/Envelope.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FADEnvelope() |
DSP/Envelope.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttackCurveFactor | float | DSP/Envelope.h | ||
| AttackSampleCount | int32 | DSP/Envelope.h | ||
| AttackTimeSeconds | float | DSP/Envelope.h | ||
| bIsLooping | bool | DSP/Envelope.h | ||
| CurrentEnvelopeValue | float | DSP/Envelope.h | ||
| CurrentSampleIndex | int32 | DSP/Envelope.h | ||
| DecayCurveFactor | float | DSP/Envelope.h | ||
| DecaySampleCount | int32 | DSP/Envelope.h | ||
| DecayTimeSeconds | float | DSP/Envelope.h | ||
| SampleRate | float | DSP/Envelope.h | ||
| StartingEnvelopeValue | float | DSP/Envelope.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Attack() |
Call function to trigger a new attack-phase of the envelope generator. | DSP/Envelope.h | |
bool GetNextEnvelopeOut
(
float& OutEnvelope |
DSP/Envelope.h | ||
void GetNextEnvelopeOut
(
int32 StartFrame, |
Generates an output audio buffer (used for audio-rate envelopes) | DSP/Envelope.h | |
void GetNextEnvelopeOut
(
int32 StartFrame, |
Generates a single float value (used for control-rate envelopes) | DSP/Envelope.h | |
void Init
(
int32 InSampleRate |
DSP/Envelope.h | ||
bool IsLooping() |
DSP/Envelope.h | ||
void SetAttackCurveFactor
(
float InAttackCurve |
DSP/Envelope.h | ||
void SetAttackTimeSeconds
(
float InAttackTimeSeconds |
DSP/Envelope.h | ||
void SetDecayCurveFactor
(
float InDecayCurve |
DSP/Envelope.h | ||
void SetDecayTimeSeconds
(
float InReleaseTimeSeconds |
DSP/Envelope.h | ||
void SetLooping
(
bool bInIsLooping |
DSP/Envelope.h |