Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
Inheritance Hierarchy
- FAttackRelease
- FAttackReleaseSmoother
- FInlineEnvelopeFollower
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/EnvelopeFollower.h |
| Include | #include "DSP/EnvelopeFollower.h" |
Syntax
class FAttackRelease
Remarks
Conversion between attack/release time and attack/release sample counts.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAttackRelease
(
float InSampleRate, |
Construct an FAttackRelease object. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GetAnalog () |
Get whether set to analog or digital time constant. (True is analog, false is digital) | |
| float | Get the attack time in milliseconds. | ||
| float | Get the attack time in samples. | ||
| float | Get the release time in milliseconds. | ||
| float | Get the release time in samples. | ||
| float | Get the sample rate. | ||
| void | SetAnalog
(
bool bInIsAnalog |
||
| void | SetAttackTime
(
float InAttackTimeMsec |
||
| void | SetReleaseTime
(
float InReleaseTimeMsec |
||
| void | SetSampleRate
(
float InSampleRate |
Constants
| Name | Description |
|---|---|
| AnalogTimeConstant | See https://en.wikipedia.org/wiki/RC_time_constant Time constants indicate how quickly the envelope follower responds to changes in input |
| DigitalTimeConstant |