Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/GrainDelay.h |
| Include | #include "DSP/GrainDelay.h" |
Syntax
class FGrainDelay
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGrainDelay
(
const float InSampleRate |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FGrainDelay () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetGrainDelayClamped
(
const float InDelay |
Helpers to clamp audio. | |
| float | GetGrainDelayRatioClamped
(
const float InGrainDelayRatio |
||
| float | GetGrainDurationClamped
(
const float InDuration |
||
| float | GetGrainPitchShiftClamped
(
const float InPitchShift |
||
| float | GetGrainPitchShiftFrameRatio
(
const float InPitchShift |
||
| void | Reset () |
||
| void | SetFeedbackAmount
(
float InFeedbackAmount |
Sets the feedback amount (how much output grain audio feeds into the delay line) | |
| void | SetGrainBasePitchShiftRatio
(
const float InPitchRatioBase |
Sets the base pitch shift ratio of all grains. | |
| void | SetGrainEnvelope
(
const Audio::Grain::EEnvelope InGrainEnvelope |
Sets the grain envelope. | |
| void | SetMaxGrains
(
const int32 InMaxGrains |
Dynamically sets the max grains. | |
| void | SpawnGrain
(
const float InDelay, |
Spawns a new grain with the given parameters. | |
| void | SynthesizeAudio
(
const int32 StartFrame, |
Synthesize audio in the given frame range from input audio. Writes to OutAudioBuffer. |