Module |
|
Header |
/Engine/Source/Runtime/AudioMixer/Public/Components/SynthComponent.h |
Include |
#include "Components/SynthComponent.h" |
class USynthComponent : public USceneComponent
Name | Description | ||
---|---|---|---|
|
AttenuationOverrides |
If bOverrideSettings is true, the attenuation properties to use for sounds generated by this component |
|
|
AttenuationSettings |
If bOverrideSettings is false, the asset to use to determine attenuation properties for sounds generated by this component |
|
|
uint8: 1 |
bAllowSpatialization |
Is this audio component allowed to be spatialized? |
|
uint8: 1 |
bAlwaysPlay |
Whether to artificially prioritize the component to play |
|
uint8: 1 |
bAutoDestroy |
Auto destroy this component on completion |
|
uint32: 1 |
bEnableBaseSubmix |
If enabled, sound will route to the Master Submix by default or to the Base Submix if defined. |
|
uint32: 1 |
bEnableBusSends |
Whether or not to enable sending this audio's output to buses. |
|
uint32: 1 |
bEnableSubmixSends |
Whether or not to enable Submix Sends other than the Base Submix. |
|
uint8: 1 |
bIsPreviewSound |
Whether or not this synth is playing as a preview sound |
|
uint8: 1 |
bIsUISound |
Whether or not this sound plays when the game is paused in the UI |
|
uint8: 1 |
bOverrideAttenuation |
Should the Attenuation Settings asset be used (false) or should the properties set directly on the component be used for attenuation properties |
|
uint8: 1 |
bStopWhenOwnerDestroyed |
Stop sound when owner is destroyed |
|
BusSends |
This sound will send its audio output to this list of buses if there are bus instances playing after source effects are processed. |
|
|
ConcurrencySet |
What sound concurrency to use for sounds generated by this audio component |
|
|
EnvelopeFollowerAttackTime |
The attack time in milliseconds for the envelope follower. |
|
|
EnvelopeFollowerReleaseTime |
The release time in milliseconds for the envelope follower. |
|
|
NumChannels |
Can be set by the derived class, defaults to 2. |
|
|
OnAudioEnvelopeValue |
||
|
OnAudioEnvelopeValueNative |
Shadow delegate for non UObject subscribers |
|
|
PreEffectBusSends |
This sound will send its audio output to this list of buses if there are bus instances playing before source effects are processed. |
|
|
PreferredBufferLength |
Can be set by the derived class- sets the preferred callback size for the synth component. |
|
|
USoundClass ... |
SoundClass |
Sound class this sound belongs to |
|
SoundSubmix |
Submix this sound belongs to |
|
|
SoundSubmixSends |
An array of submix sends. Audio from this sound will send a portion of its audio to these effects. |
|
|
SourceEffectChain |
The source effect chain to use for this sound. |
Name | Description | |
---|---|---|
|
USynthComponent ( |
Name | Description | ||
---|---|---|---|
|
AddAudioBufferListener ( |
Adds and removes audio buffer listener. |
|
|
CreateAudioComponent() |
Creates the audio component if it hasn't already been created yet. |
|
|
ISoundGenera... |
CreateSoundGenerator |
Implemented by the synth component to create a generator object instead of generating audio directly on the synth component. |
|
UAudioCompon... |
GetAudioComponent() |
Retrieves this synth component's audio component. |
|
FAudioDevice... |
GetAudioDevice() |
Gets the audio device associated with this synth component. |
|
Init ( |
Called when synth is created. |
|
|
Initialize ( |
Call if creating this synth component not via an actor component in BP, but in code or some other location. |
|
|
IsPlaying() |
Returns true if this component is currently playing. |
|
|
OnAudioComponentEnvelopeValue ( |
||
|
OnBeginGenerate() |
Called when the synth component begins generating audio in render thread. |
|
|
OnEndGenerate() |
Called when the synth has finished generating audio on the render thread. |
|
|
OnGenerateAudio ( |
Called when more audio is needed to be generated This method of generating audio is soon to be deprecated. |
|
|
OnGeneratePCMAudio ( |
Called by procedural sound wave Returns the number of samples actually generated |
|
|
RemoveAudioBufferListener ( |
||
|
SetLowPassFilterEnabled ( |
Sets whether or not the low pass filter is enabled on the audio component. |
|
|
SetLowPassFilterFrequency ( |
Sets lowpass filter frequency of the audio component. |
|
|
SetOutputToBusOnly ( |
Sets whether or not the synth component outputs its audio to any source or audio buses. |
|
|
SetSubmixSend ( |
Sets how much audio the sound should send to the given submix. |
|
|
SetVolumeMultiplier ( |
Set a new volume multiplier |
|
|
Start() |
Starts the synth generating audio. |
|
|
Stop() |
Stops the synth generating audio. |
|
|
SynthCommand |
Method to execute parameter changes on game thread in audio render thread. |
Name | Description | ||
---|---|---|---|
|
Activate ( |
Activates the SceneComponent, should be overridden by native child classes. |
|
|
Deactivate() |
Deactivates the SceneComponent. |
|
|
IsReadyForOwnerToAutoDestroy() |
Overridable check for a component to indicate to its Owner that it should prevent the Actor from auto destroying when finished |
|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bOutputToBusOnly_DEPRECATED |
Whether or not to only send this audio's output to a bus. |
|
ConcurrencySettings_DEPRECATED |
What sound concurrency to use for sounds generated by this audio component |