Navigation
API > API/Plugins > API/Plugins/Synthesis > API/Plugins/Synthesis/SynthComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- USynthComponent
- UModularSynthComponent
References
| Module | Synthesis |
| Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Classes/SynthComponents/EpicSynth1Component.h |
| Include | #include "SynthComponents/EpicSynth1Component.h" |
Syntax
UCLASS&40;ClassGroup&61;Synth, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
class UModularSynthComponent : public USynthComponent
Remarks
UModularSynthComponent Implementation of a USynthComponent.
Variables
| Type | Name | Description | |
|---|---|---|---|
| Audio::FEpicSynth1 | EpicSynth1 | ||
| int32 | VoiceCount | The voice count to use for the synthesizer. Cannot be changed. |
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPatchId | CreatePatch
(
const ESynth1PatchSource PatchSource, |
Creates a new modular synth patch between a modulation source and a set of modulation destinations. | |
| void | NoteOff
(
const float Note, |
Stop the note (will only do anything if a voice is playing with that note) | |
| void | NoteOn
(
const float Note, |
Play a new note. Optionally pass in a duration to automatically turn off the note. | |
| void | SetAttackTime
(
float AttackTimeMsec |
Sets the envelope attack time in msec. | |
| void | SetChorusDepth
(
float Depth |
Sets the chorus depth. | |
| void | SetChorusEnabled
(
bool EnableChorus |
Sets whether or not chorus is enabled. | |
| void | SetChorusFeedback
(
float Feedback |
Sets the chorus feedback. | |
| void | SetChorusFrequency
(
float Frequency |
Sets the chorus frequency. | |
| void | SetDecayTime
(
float DecayTimeMsec |
Sets the envelope decay time in msec. | |
| void | SetEnableLegato
(
bool LegatoEnabled |
Sets whether or not to use legato for the synthesizer. | |
| bool | SetEnablePatch
(
const FPatchId PatchId, |
||
| void | SetEnablePolyphony
(
bool bEnablePolyphony |
Sets whether or not to use polyphony for the synthesizer. | |
| void | SetEnableRetrigger
(
bool RetriggerEnabled |
Sets whether or not to retrigger envelope per note on. | |
| void | SetEnableUnison
(
bool EnableUnison |
Sets whether or not the synth is in unison mode (i.e. no spread) | |
| void | SetFilterAlgorithm
(
ESynthFilterAlgorithm FilterAlgorithm |
Sets the filter algorithm. | |
| void | SetFilterFrequency
(
float FilterFrequencyHz |
Sets the filter cutoff frequency in hz. | |
| void | SetFilterFrequencyMod
(
float FilterFrequencyHz |
Sets the filter cutoff frequency in hz. | |
| void | SetFilterQ
(
float FilterQ |
Sets the filter Q (resonance) | |
| void | SetFilterQMod
(
float FilterQ |
Sets a modulated filter Q (resonance) | |
| void | SetFilterType
(
ESynthFilterType FilterType |
Sets the filter type. | |
| void | SetGainDb
(
float GainDb |
Sets the synth gain in decibels. | |
| void | SetLFOFrequency
(
int32 LFOIndex, |
Sets the LFO frequency in hz | |
| void | SetLFOFrequencyMod
(
int32 LFOIndex, |
Sets the LFO frequency modulation in hz | |
| void | SetLFOGain
(
int32 LFOIndex, |
Sets the LFO gain factor | |
| void | SetLFOGainMod
(
int32 LFOIndex, |
Sets the LFO gain mod factor (external modulation) | |
| void | SetLFOMode
(
int32 LFOIndex, |
Sets the LFO type | |
| void | SetLFOPatch
(
int32 LFOIndex, |
Sets the LFO patch type. LFO patch determines what parameter is modulated by the LFO. | |
| void | SetLFOType
(
int32 LFOIndex, |
Sets the LFO type | |
| void | SetModEnvAttackTime
(
const float AttackTimeMsec |
Sets the envelope modulator attack time in msec. | |
| void | SetModEnvBiasInvert
(
const bool bInvert |
Sets whether or not to invert the bias output of the envelope modulator. | |
| void | SetModEnvBiasPatch
(
const ESynthModEnvBiasPatch InPatchType |
Sets whether or not to modulate a param based on the envelope. Uses bias envelope output (offset from sustain gain). | |
| void | SetModEnvDecayTime
(
const float DecayTimeMsec |
Sets the envelope modulator attack time in msec. | |
| void | SetModEnvDepth
(
const float Depth |
Sets the envelope modulator depth (amount to apply the output modulation) | |
| void | SetModEnvInvert
(
const bool bInvert |
Sets whether or not to invert the envelope modulator. | |
| void | SetModEnvPatch
(
const ESynthModEnvPatch InPatchType |
Sets whether or not to modulate a param based on the envelope. Uses bias envelope output (offset from sustain gain). | |
| void | SetModEnvReleaseTime
(
const float Release |
Sets the envelope modulator release. | |
| void | SetModEnvSustainGain
(
const float SustainGain |
Sets the envelope modulator sustain gain. | |
| void | SetOscCents
(
int32 OscIndex, |
Sets the oscillator cents. | |
| void | SetOscFrequencyMod
(
int32 OscIndex, |
Set the oscillator frequency modulation | |
| void | SetOscGain
(
int32 OscIndex, |
Set the oscillator gain. | |
| void | SetOscGainMod
(
int32 OscIndex, |
Set the oscillator gain modulation. | |
| void | SetOscOctave
(
int32 OscIndex, |
Sets the oscillator octaves | |
| void | SetOscPulsewidth
(
int32 OscIndex, |
Sets the square wave pulsewidth [0.0, 1.0]. | |
| void | SetOscSemitones
(
int32 OscIndex, |
Sets the oscillator semitones. | |
| void | SetOscSync
(
const bool bIsSynced |
Set whether or not to follow the phase of osc2 to osc1. | |
| void | SetOscType
(
int32 OscIndex, |
Set the oscillator type. | |
| void | SetPan
(
float Pan |
Sets the pan of the synth [-1.0, 1.0]. | |
| void | SetPitchBend
(
float PitchBend |
Sets the synth pitch bend amount. | |
| void | SetPortamento
(
float Portamento |
Sets the synth portamento [0.0, 1.0]. | |
| void | SetReleaseTime
(
float ReleaseTimeMsec |
Sets the envelope release time in msec. | |
| void | SetSpread
(
float Spread |
Sets the amount of spread of the oscillators. [0.0, 1.0]. | |
| void | SetStereoDelayFeedback
(
float DelayFeedback |
Sets the amount of stereo delay feedback [0.0, 1.0]. | |
| void | SetStereoDelayIsEnabled
(
bool StereoDelayEnabled |
Sets whether not stereo delay is enabled. | |
| void | SetStereoDelayMode
(
ESynthStereoDelayMode StereoDelayMode |
Sets whether not stereo delay is enabled. | |
| void | SetStereoDelayRatio
(
float DelayRatio |
Sets the amount of stereo delay ratio between left and right delay lines [0.0, 1.0]. | |
| void | SetStereoDelayTime
(
float DelayTimeMsec |
Sets the amount of stereo delay time in msec. | |
| void | SetStereoDelayWetlevel
(
float DelayWetlevel |
Sets the amount of stereo delay wetlevel [0.0, 1.0]. | |
| void | SetSustainGain
(
float SustainGain |
Sets the envelope sustain gain value. | |
| void | SetSynthPreset
(
const FModularSynthPreset& SynthPreset |
Sets the preset struct for the synth. |