Navigation
API > API/Plugins > API/Plugins/Synthesis > API/Plugins/Synthesis/SynthComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- USynthComponent
- USynthSamplePlayer
References
| Module | Synthesis |
| Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Classes/SynthComponents/SynthComponentWaveTable.h |
| Include | #include "SynthComponents/SynthComponentWaveTable.h" |
Syntax
UCLASS&40;ClassGroup&61;Synth, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class USynthSamplePlayer : public USynthComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsLoaded | ||
| FOnSampleLoaded | OnSampleLoaded | ||
| FOnSamplePlaybackProgress | OnSamplePlaybackProgress | ||
| Audio::TSampleBuffer< int16 > | SampleBuffer | ||
| Audio::FSampleBufferReader | SampleBufferReader | ||
| float | SampleDurationSec | ||
| float | SamplePlaybackProgressSec | ||
| TObjectPtr< USoundWave > | SoundWave | ||
| Audio::FSoundWavePCMLoader | SoundWaveLoader |
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| float | |||
| float | |||
| bool | IsLoaded () |
||
| void | |||
| void | SeekToTime
(
float TimeSec, |
||
| void | SetPitch
(
float InPitch, |
||
| void | SetScrubMode
(
bool bScrubMode |
||
| void | SetScrubTimeWidth
(
float InScrubTimeWidthSec |
||
| void | SetSoundWave
(
USoundWave* InSoundWave |
This will override the current sound wave if one is set, stop audio, and reload the new sound wave. |