![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EnvelopeFollower.h>
Inheritance diagram for Audio::FAttackRelease:Public Member Functions | |
| SIGNALPROCESSING_API | FAttackRelease (float InSampleRate, float InAttackTimeMsec, float InReleaseTimeMsec, bool bInIsAnalog) |
| SIGNALPROCESSING_API void | SetAnalog (bool bInIsAnalog) |
| SIGNALPROCESSING_API void | SetAttackTime (float InAttackTimeMsec) |
| SIGNALPROCESSING_API void | SetReleaseTime (float InReleaseTimeMsec) |
| bool | GetAnalog () const |
| float | GetAttackTimeSamples () const |
| float | GetReleaseTimeSamples () const |
| float | GetAttackTimeMsec () const |
| float | GetReleaseTimeMsec () const |
| float | GetSampleRate () const |
Protected Member Functions | |
| SIGNALPROCESSING_API void | SetSampleRate (float InSampleRate) |
Conversion between attack/release time and attack/release sample counts.
| Audio::FAttackRelease::FAttackRelease | ( | float | InSampleRate, |
| float | InAttackTimeMsec, | ||
| float | InReleaseTimeMsec, | ||
| bool | bInIsAnalog | ||
| ) |
Construct an FAttackRelease object.
| InSampleRate | - The number of frames per a second. |
| InAttackTimeMsec | - The desired attack time in milliseconds. |
| InReleaseTimeMsec | - The desired release time in milliseconds. |
| bInIsAnalog | - Whether to model analog RC circuits or use digital models. |
|
inline |
Get whether set to analog or digital time constant. (True is analog, false is digital)
|
inline |
Get the attack time in milliseconds.
|
inline |
Get the attack time in samples.
|
inline |
Get the release time in milliseconds.
|
inline |
Get the release time in samples.
|
inline |
Get the sample rate.