Navigation
API > API/Plugins > API/Plugins/Synthesis > API/Plugins/Synthesis/SynthComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- USynthComponent
- UGranularSynth
References
| Module | Synthesis |
| Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Classes/SynthComponents/SynthComponentGranulator.h |
| Include | #include "SynthComponents/SynthComponentGranulator.h" |
Syntax
UCLASS&40;ClassGroup&61;Synth, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UGranularSynth : public USynthComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsLoaded | ||
| bool | bIsLoading | ||
| bool | bRegistered | ||
| Audio::FGranularSynth | GranularSynth | ||
| TObjectPtr< USoundWave > | GranulatedSoundWave | ||
| 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 | |||
| bool | IsLoaded () |
||
| void | NoteOff
(
const float Note, |
||
| void | NoteOn
(
const float Note, |
||
| void | SetAttackTime
(
const float AttackTimeMsec |
||
| void | SetDecayTime
(
const float DecayTimeMsec |
||
| void | SetGrainDuration
(
const float BaseDurationMsec, |
||
| void | SetGrainEnvelopeType
(
const EGranularSynthEnvelopeType EnvelopeType |
||
| void | SetGrainPan
(
const float BasePan, |
||
| void | SetGrainPitch
(
const float BasePitch, |
||
| void | SetGrainProbability
(
const float InGrainProbability |
||
| void | SetGrainsPerSecond
(
const float InGrainsPerSecond |
||
| void | SetGrainVolume
(
const float BaseVolume, |
||
| void | SetPlaybackSpeed
(
const float InPlayheadRate |
||
| void | SetPlayheadTime
(
const float InPositionSec, |
||
| void | SetReleaseTimeMsec
(
const float ReleaseTimeMsec |
||
| void | SetScrubMode
(
const bool bScrubMode |
||
| void | SetSoundWave
(
USoundWave* InSoundWave |
This will override the current sound wave if one is set, stop audio, and reload the new sound wave. | |
| void | SetSustainGain
(
const float SustainGain |