Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/WaveTableOsc.h |
Include |
#include "DSP/WaveTableOsc.h" |
class FWaveTableOsc
A wave table oscillator class.
Name | Description | ||
---|---|---|---|
|
float |
FrequencyHz |
The frequency of the output (given the sample rate) |
|
float |
NormalPhaseReadIndex |
Normal phase read index. |
|
float |
OutputAdd |
Amount to add to the output. |
|
float |
OutputScale |
Amount to scale the output by. |
|
float |
PhaseIncrement |
The phase increment (based on frequency) |
|
float |
QuadPhaseReadIndex |
The quad-phase read index. |
|
float |
SampleRate |
The sample rate of the oscillator. |
|
TArray< float > |
WaveTableBuffer |
The wave table buffer. |
|
WaveTableType |
The wave table oscillator type. |
Name | Description | |
---|---|---|
|
FWaveTableOsc() |
Constructor. |
Name | Description | |
---|---|---|
|
~FWaveTableOsc() |
Virtual Destructor. |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
CreateWaveTable ( |
Creates a wave table using internal factories for standard wave tables or uses custom wave table factor if it exists. |
|
Generate ( |
Processes the wave table, outputs the normal and quad phase (optional) values. |
|
|
float |
GetFrequencyHz() |
Returns the frequency of the wave table oscillator. |
|
TArray< floa... |
GetTable() |
Returns the internal table used in the wave table. |
|
const TArray... |
GetTable() |
Returns the internal table used in the wave table. |
|
EWaveTable::... |
GetType() |
Returns the type of the wave table oscillator. |
|
Init ( |
Initialize the wave table oscillator. |
|
|
Reset() |
Resets the wave table read indices. |
|
|
SetFrequencyHz ( |
Sets the frequency of the wave table oscillator. |
|
|
SetSampleRate ( |
Sets the sample rate of the oscillator. |
|
|
SetScaleAdd ( |
Sets the amount to scale and add to the output of the wave table. |
|
|
UpdateFrequency() |