/Engine/Source/Runtime/SignalProcessing/Public/DSP/Granulator.h
A stereo granulator.
class FGranularSynth
TArray< int32 >
ActiveGrains
FAmp
Amp
bool
bScrubMode
float
CurrentPlayHeadFrame
The current playhead frame.
int32
CurrentSpawnFrameCount
The current number of frames since last attempt to spawn.
TArray< int32 >
DeadGrains
FGrainParam
Duration
FDynamicsProces...
DynamicsProcessor
TArray< int32 >
FreeGrains
FGrainParam
Frequency
FEnvelope
GainEnv
Overall envelope of the granulator.
FGrainEnvelope
GrainEnvelope
The single envelope function used by all grains.
EGrainEnvelopeT...
GrainEnvelopeType
Current grain envelope type.
EOsc::Type
GrainOscType
The oscillator type to use if in synthesis mode.
TArray<FGrain...
GrainPool
A pool of free grains. Will dynamically grow to needed grains based on grain density.
float
GrainProbability
The probability of a grain occurring when it tries to spawn (based off the GrainsPerSecond)
float
GrainsPerSecond
The rate at which grains are spawned.
EGranularSynthM...
Mode
What mode the granular synthesizer is in.
int32
NextSpawnFrame
The next frame when a grain needs to spawn.
int32
NoteDurationFrameCount
Counts for overall note duration of the granulator.
int32
NoteDurationFrameEnd
int32
NumActiveGrains
int32
NumChannels
FGrainParam
Pan
FGrainParam
Pitch
float
PlaybackSpeed
TSampleBuffer< ...
SampleBuffer
The buffer which holds the sample to be granulated.
int32
SampleRate
FLinearEase
SeekingPlayheadTimeFrame
FGrainParam
Volume