Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/Granulator.h |
Include |
#include "DSP/Granulator.h" |
class FGrain
Class representing a grain of audio.
Name | Description | ||
---|---|---|---|
|
float |
CurrentFrameCount |
The current frame count the grain is on. |
|
float |
CurrentFrequency |
Current frequency. |
|
float |
CurrentPan |
The current pan. |
|
float |
CurrentPitch |
The current pitch. |
|
float |
CurrentVolumeScale |
The current volume scale. |
|
float |
DurationScale |
How quickly we read through the envelope. |
|
float |
EndFrameCount |
The end frame count the grain will finish on. |
|
TArray< float > |
FrameScratch |
Scratch buffer for sample reading. |
|
GrainData |
Grain data struct. |
|
|
GrainId |
Grain id. |
|
|
Osc |
Oscillator to use for synthesis mode. |
|
|
FGranularSynth ... |
Parent |
Parent synth. |
|
SampleBufferReader |
The sample buffer reader to use for the grain of the mode is granulation. |
|
|
TArray< float > |
SpeakerMap |
Speaker map based on the current grain azimuth. |
Name | Description | |
---|---|---|
|
FGrain ( |
Name | Description | |
---|---|---|
|
~FGrain() |
Name | Description | ||
---|---|---|---|
|
GenerateFrame ( |
Generates the next frame from the grain. |
|
|
float |
GetEnvelopeValue() |
|
|
IsDone() |
Queries if this grain is finished playing and needs to be reaped. |
|
|
Play ( |
Plays the grain with the supplied grain data. |
|
|
SetDurationScale ( |
Changes how quickly the grain reads through envelope. |
|
|
SetOscFrequency ( |
Sets the oscillator frequency. |
|
|
SetOscFrequencyModuation ( |
Sets the oscillator frequency modulation. |
|
|
SetOscType ( |
Changes the oscillator type for the grain (if the grain is in synth mode) |
|
|
SetPanModulation ( |
Sets the pan modulation angle. |
|
|
SetPitchModulation ( |
Sets the grain pitch modulation. |
|
|
SetVolumeModulation ( |
Sets the grain modulation. |