Navigation
API > API/Runtime > API/Runtime/SignalProcessing
A sinusoidal wave table oscillator class.
| Name | FSineWaveTableOsc |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/SineWaveTableOsc.h |
| Include Path | #include "DSP/SineWaveTableOsc.h" |
Syntax
class FSineWaveTableOsc
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSineWaveTableOsc() |
Constructor. | DSP/SineWaveTableOsc.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSineWaveTableOsc() |
Virtual Destructor. | DSP/SineWaveTableOsc.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Generate
(
float* OutBuffer, |
Processes the wave table and fills a buffer. | DSP/SineWaveTableOsc.h | |
float GetFrequencyHz() |
Returns the frequency of the wave table oscillator. | DSP/SineWaveTableOsc.h | |
void Init
(
const float InSampleRate, |
Initialize the wave table oscillator. | DSP/SineWaveTableOsc.h | |
void Reset() |
Resets the wave table read indices. | DSP/SineWaveTableOsc.h | |
void SetFrequencyHz
(
const float InFrequencyHz |
Sets the frequency of the wave table oscillator. | DSP/SineWaveTableOsc.h | |
void SetPhase
(
const float InPhase |
Sets the phase of the wave table oscillator. | DSP/SineWaveTableOsc.h | |
void SetSampleRate
(
const float InSampleRate |
Sets the sample rate of the oscillator. | DSP/SineWaveTableOsc.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdatePhaseIncrement() |
DSP/SineWaveTableOsc.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const TArray< float > & GetWaveTable() |
The static sinusoidal wave table. | DSP/SineWaveTableOsc.h |