Navigation
API > API/Plugins > API/Plugins/Synthesis
UStruct Mono Wave Table Synth Preset.
| Name | UMonoWaveTableSynthPreset |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Classes/SynthComponents/SynthComponentMonoWaveTable.h |
| Include Path | #include "SynthComponents/SynthComponentMonoWaveTable.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=Synth, Meta=(BlueprintSpawnableComponent))
class UMonoWaveTableSynthPreset : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMonoWaveTableSynthPreset
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMonoWaveTableSynthPreset() |
Ctor | SynthComponents/SynthComponentMonoWaveTable.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLockKeyframesToGridBool | uint8 | Lock wavetables to evenly spaced keyframes that can be edited vertically only (will re-sample) | SynthComponents/SynthComponentMonoWaveTable.h |
|
| bNormalizeWaveTables | uint8 | Normalize the WaveTable data? False will allow clipping, True will normalize the tables when sent to the synth for rendering. | SynthComponents/SynthComponentMonoWaveTable.h |
|
| LockKeyframesToGrid | int32 | How many evenly-spaced keyframes to use when LockKeyframesToGrid is true. | SynthComponents/SynthComponentMonoWaveTable.h |
|
| PresetName | FString | Name the preset. | SynthComponents/SynthComponentMonoWaveTable.h |
|
| WaveTable | TArray< FRuntimeFloatCurve > | Wave Table Editor. | SynthComponents/SynthComponentMonoWaveTable.h |
|
| WaveTableResolution | int32 | How many samples will be taken of the curve from time = [0.0, 1.0]. | SynthComponents/SynthComponentMonoWaveTable.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterWTComponentCallback
(
uint32 ID, |
Function to register lambdas to call when a property is changed | SynthComponents/SynthComponentMonoWaveTable.h | |
void UnRegisterWTSynthComponentCallback
(
const uint32 ID |
Function to UNregister same lambdas | SynthComponents/SynthComponentMonoWaveTable.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheAssetData() |
Saves data from the asset to see what changed when | SynthComponents/SynthComponentMonoWaveTable.h | |
void DuplicateCurveToEnd() |
Since wavetable synthesis sounds good when there are subtle changes between curves, this helps work flow when adding a new curve by making it a duplicate of a the curve before it | SynthComponents/SynthComponentMonoWaveTable.h | |
void EditChangeInternal() |
SynthComponents/SynthComponentMonoWaveTable.h | ||
bool IsCachedTableEntryStillValid
(
Audio::DefaultWaveTableIndexType Index |
Compares Underlying rich curves to see if the Index(th) curve was changed in the editor. | SynthComponents/SynthComponentMonoWaveTable.h | |
void SampleAllToGrid
(
uint32 InGridsize |
SynthComponents/SynthComponentMonoWaveTable.h | ||
void SampleToGrid
(
uint32 InGridSize, |
SynthComponents/SynthComponentMonoWaveTable.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeChainProperty
(
FPropertyChangedChainEvent& |
Override on Post property change thing here (loop and call lambdas) | SynthComponents/SynthComponentMonoWaveTable.h |