Navigation
API > API/Plugins > API/Plugins/WaveTable
References
| Module | WaveTable |
| Header | /Engine/Plugins/Runtime/WaveTable/Source/WaveTable/Public/WaveTableSettings.h |
| Include | #include "WaveTableSettings.h" |
Syntax
USTRUCT&40;&41;
struct FWaveTableSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bNormalize | Whether or not to normalize the WaveTable. | |
| bool | bRemoveOffset | Whether or not to remove offset from original file (analogous to "DC offset" in circuit theory). | |
| int32 | ChannelIndex | Index of channel in file to build WaveTable from (wraps if channel is greater than number in file) | |
| float | FadeIn | Percent to fade in over. | |
| float | FadeOut | Percent to fade out over. | |
| FFilePath | FilePath | File to import. | |
| float | Phase | Percent to phase shift of table. | |
| FWaveTableData | SourceData | Source data last imported from the source file. | |
| int32 | SourceSampleRate | Source sample rate from last imported source file. | |
| float | Tail | Percent to remove from end of sampled WaveTable. | |
| float | Top | Percent to remove from beginning of sampled WaveTable. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ContainsEdit () |
Whether or not an edit is contained to omit or modify source file's PCM data. | |
| void | GetEditSourceBounds
(
int32& OutSourceTopOffset, |
Returns the respective offset & number of samples that characterize the source data to apply light edits to. | |
| void |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TArrayView< const float > | Source now supports multiple bit depths. Use 'GetEditSourceBounds' & apply to SourceData WaveTableData TArrayView in proper format using 'GetDataView'. |