Navigation
Unreal Engine C++ API Reference > Plugins > Synthesis
References
Module | Synthesis |
Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Public/MonoWaveTable.h |
Include | #include "MonoWaveTable.h" |
Syntax
class FMonoWaveTable
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
Audio::FEnvelope | AmpEnv | |
![]() |
uint8: 1 | bInitialized | |
![]() |
uint8: 1 | bIsPlaying | |
![]() |
uint8: 1 | bIsSustainPedalPressed | |
![]() |
float | FrequencyInHz | Frequency of current note (mono) |
![]() |
float | LastAmpSustain | |
![]() |
float | LastLPFFreqHz | |
![]() |
float | LastWaveTablePosition | |
![]() |
Audio::FLadderFilter | LPF | Filters. |
![]() |
float | LPFBaseFreqHz | The current base frequency of LPF (modulators contribute to final value) |
![]() |
float | LPFCeilingHz | |
![]() |
Audio::FEnvelope | LPFEnv | |
![]() |
float | LPFMaxModOffsetOctaves | |
![]() |
float | NewAmpSustain | |
![]() |
TArray< float > | NoteStack | Frequencies of unreleased notes |
![]() |
float | OutputSampleRate | Audio rendering Sample rate. |
![]() |
float | Phase | Index into Wave Table. |
![]() |
float | PitchOffsetCents | |
![]() |
Audio::FEnvelope | PosEnv | |
![]() |
Audio::FLFO | PosLfo | Control data |
![]() |
TArray< float > | WaveTableLookupOutput | |
![]() |
TArray< TSampleBuffer< float > > | WaveTableMatrix | Table TArray<TArray |
![]() |
float | WaveTablePosition | Current base index into wave table (modulators contribute to final position) (float between [0.0, 1.0]; 0.0 = first wave table, 1.0 = last wave table) |
![]() |
float | WaveTableResolution | The number of samples in a wave table entry. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
float | GetMonoSynthOutput
(
float InTablePosition |
|
![]() |
float | Oscillator/Table setting. | |
![]() |
void | Init
(
int32& InSampleRate, |
|
![]() |
void | NoteOff
(
float InFrequency |
|
![]() |
void | NoteOn
(
float InFrequency, |
|
![]() |
DefaultWaveTableIndexType | OnGenerateAudio
(
float* OutAudio, |
Generate the next frame of audio. |
![]() |
void | SetAmpEnvelopeAttackTime
(
const float InAttackTimeMsec |
Envelope setting Amp |
![]() |
void | SetAmpEnvelopeBiasDepth
(
const float InDepth |
|
![]() |
void | SetAmpEnvelopeBiasInvert
(
const bool bInBiasInvert |
|
![]() |
void | SetAmpEnvelopeDecayTime
(
const float InDecayTimeMsec |
|
![]() |
void | SetAmpEnvelopeDepth
(
const float InDepth |
|
![]() |
void | SetAmpEnvelopeInvert
(
const bool bInInvert |
|
![]() |
void | SetAmpEnvelopeReleaseTime
(
const float InReleaseTimeMsec |
|
![]() |
void | SetAmpEnvelopeSustainGain
(
const float InSustainGain |
|
![]() |
void | SetFilterEnvelopeAttackTime
(
const float InAttackTimeMsec |
Filter. |
![]() |
void | SetFilterEnvelopeBiasDepth
(
const float InDepth |
|
![]() |
void | SetFilterEnvelopeBiasInvert
(
const bool bInBiasInvert |
|
![]() |
void | SetFilterEnvelopeDepth
(
const float InDepth |
|
![]() |
void | SetFilterEnvelopeInvert
(
const bool bInInvert |
|
![]() |
void | SetFilterEnvelopenDecayTime
(
const float InDecayTimeMsec |
|
![]() |
void | SetFilterEnvelopeReleaseTime
(
const float InReleaseTimeMsec |
|
![]() |
void | SetFilterEnvelopeSustainGain
(
const float InSustainGain |
|
![]() |
void | SetFrequency
(
float InFrequencyHz |
|
![]() |
void | SetFrequencyOffset
(
float InFrequencyCents |
|
![]() |
void | SetLpfFreq
(
float InNewFrequency |
Filter setting. |
![]() |
void | SetLpfRes
(
float InNewQ |
|
![]() |
void | SetPosition
(
float InPosition |
|
![]() |
void | SetPositionEnvelopeAttackTime
(
const float InAttackTimeMsec |
Table Position. |
![]() |
void | SetPositionEnvelopeBiasDepth
(
const float InDepth |
|
![]() |
void | SetPositionEnvelopeBiasInvert
(
const bool bInBiasInvert |
|
![]() |
void | SetPositionEnvelopeDecayTime
(
const float InDecayTimeMsec |
|
![]() |
void | SetPositionEnvelopeDepth
(
const float InDepth |
|
![]() |
void | SetPositionEnvelopeInvert
(
const bool bInInvert |
|
![]() |
void | SetPositionEnvelopeReleaseTime
(
const float InReleaseTimeMsec |
|
![]() |
void | SetPositionEnvelopeSustainGain
(
const float InSustainGain |
|
![]() |
void | SetPosLFODepth
(
const float InPosLFODepth |
|
![]() |
void | SetPosLFOFrequency
(
const float InPosLFOFrequency |
LFO setting Table Position |
![]() |
void | SetPosLFOType
(
const ELFO::Type InPosLFOType |
|
![]() |
void | SetSustainPedalPressed
(
bool bInSustainPedalState |
Performance. |
![]() |
void | UpdateWaveTable
(
DefaultWaveTableIndexType Index, |
|
![]() |
float | UpdateWaveTableLookupOutput
(
float InPhaseIndex |
Helper that performs fractional indexing and wraps TableIndex |