Navigation
API > API/Runtime > API/Runtime/Engine
Sound Submix class meant for applying an effect to the downmixed sum of multiple audio sources.
| Name | USoundSubmix |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundSubmix.h |
| Include Path | #include "Sound/SoundSubmix.h" |
Syntax
UCLASS (Config=Engine, HideCategories=Object, EditInlineNew, BlueprintType, MinimalAPI)
class USoundSubmix : public USoundSubmixWithParentBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USoundSubmixBase → USoundSubmixWithParentBase → USoundSubmix
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
USoundSubmix
(
const FObjectInitializer& ObjectInitializer |
Sound/SoundSubmix.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AmbisonicsPluginSettings | TObjectPtr< USoundfieldEncodingSettingsBase > | Optional settings used by plugins which support ambisonics file playback. | Sound/SoundSubmix.h |
|
| AudioLinkSettings | TObjectPtr< UAudioLinkSettingsAbstract > | Optional Audio Link Settings Object | Sound/SoundSubmix.h |
|
| bMuteWhenBackgrounded | uint8 | Mute this submix when the application is muted or in the background. | Sound/SoundSubmix.h |
|
| bSendToAudioLink | uint8 | Whether to send this Submix to AudioLink (when AudioLink is Enabled) | Sound/SoundSubmix.h |
|
| DryLevelModulation | FSoundModulationDestinationSettings | The dry level of the submix in Decibels. Applied before submix effects and analysis are performed. | Sound/SoundSubmix.h |
|
| EnvelopeFollowerAttackTime | int32 | The attack time in milliseconds for the envelope follower. | Sound/SoundSubmix.h |
|
| EnvelopeFollowerReleaseTime | int32 | The release time in milliseconds for the envelope follower. | Sound/SoundSubmix.h |
|
| OnSubmixRecordedFileDone | FOnSubmixRecordedFileDone | Blueprint delegate for when a recorded file is finished exporting. | Sound/SoundSubmix.h |
|
| OutputVolumeModulation | FSoundModulationDestinationSettings | The output volume of the submix in Decibels. | Sound/SoundSubmix.h |
|
| SubmixEffectChain | TArray< TObjectPtr< USoundEffectSubmixPreset > > | Sound/SoundSubmix.h |
|
|
| WetLevelModulation | FSoundModulationDestinationSettings | The wet level of the submixin Decibels. Applied after submix effects and analysis are performed. | Sound/SoundSubmix.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddEnvelopeFollowerDelegate
(
const UObject* WorldContextObject, |
Adds an envelope follower delegate to the submix when envelope following is enabled on this submix. | Sound/SoundSubmix.h |
|
void AddSpectralAnalysisDelegate
(
const UObject* WorldContextObject, |
Adds a spectral analysis delegate to receive notifications when this submix has spectrum analysis enabled. | Sound/SoundSubmix.h |
|
void RemoveEnvelopeFollowerDelegate
(
const UObject* WorldContextObject, |
Remove an envelope follower delegate. | Sound/SoundSubmix.h |
|
void RemoveSpectralAnalysisDelegate
(
const UObject* WorldContextObject, |
Remove a spectral analysis delegate. | Sound/SoundSubmix.h |
|
void SetSubmixDryLevel
(
const UObject* WorldContextObject, |
Sets the output volume of the submix in linear gain. | Sound/SoundSubmix.h |
|
void SetSubmixOutputVolume
(
const UObject* WorldContextObject, |
Sets the output volume of the submix in linear gain. | Sound/SoundSubmix.h |
|
void SetSubmixWetLevel
(
const UObject* WorldContextObject, |
Sets the output volume of the submix in linear gain. | Sound/SoundSubmix.h |
|
void StartEnvelopeFollowing
(
const UObject* WorldContextObject |
Start envelope following the submix output. Register with OnSubmixEnvelope to receive envelope follower data in BP. | Sound/SoundSubmix.h |
|
void StartEnvelopeFollowing
(
FAudioDevice* InDevice |
Sound/SoundSubmix.h | ||
void StartRecordingOutput
(
const UObject* WorldContextObject, |
Start recording the audio from this submix. | Sound/SoundSubmix.h |
|
void StartRecordingOutput
(
FAudioDevice* InDevice, |
Sound/SoundSubmix.h | ||
void StartSpectralAnalysis
(
const UObject* WorldContextObject, |
Start spectrum analysis of the audio output. | Sound/SoundSubmix.h |
|
void StartSpectralAnalysis
(
FAudioDevice* InDevice, |
Sound/SoundSubmix.h | ||
void StopEnvelopeFollowing
(
const UObject* WorldContextObject |
Start envelope following the submix output. Register with OnSubmixEnvelope to receive envelope follower data in BP. | Sound/SoundSubmix.h |
|
void StopEnvelopeFollowing
(
FAudioDevice* InDevice |
Sound/SoundSubmix.h | ||
void StopRecordingOutput
(
const UObject* WorldContextObject, |
Finish recording the audio from this submix and export it as a wav file or a USoundWave. | Sound/SoundSubmix.h |
|
void StopRecordingOutput
(
FAudioDevice* InDevice, |
Sound/SoundSubmix.h | ||
void StopSpectralAnalysis
(
const UObject* WorldContextObject |
Stop spectrum analysis of the audio output. | Sound/SoundSubmix.h |
|
void StopSpectralAnalysis
(
FAudioDevice* InDevice |
Sound/SoundSubmix.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleVersionMigration
(
const int32 Version |
Sound/SoundSubmix.h | ||
void InitDeprecatedDefaults() |
Sound/SoundSubmix.h | ||
void PushModulationChanges() |
Send submix modulation changes to audio devices. | Sound/SoundSubmix.h | |
void SetDryVolumeModulation
(
const FSoundModulationDestinationSettings& InVolMod |
Sound/SoundSubmix.h |
|
|
void SetOutputVolumeModulation
(
const FSoundModulationDestinationSettings& InVolMod |
Custom settors for Modulation Destinations. | Sound/SoundSubmix.h |
|
void SetWetVolumeModulation
(
const FSoundModulationDestinationSettings& InVolMod |
Sound/SoundSubmix.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Sound/SoundSubmix.h | ||
virtual void PostLoad() |
Sound/SoundSubmix.h | ||
virtual void Serialize
(
FArchive& Ar |
Sound/SoundSubmix.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAudioDevice * GetAudioDeviceFrom
(
const UObject* WorldContextObject |
Return the audio device that corresponds to the provided world context object. | Sound/SoundSubmix.h | |
static FSoundSpectrumAnalyzerDelegateSettings GetSpectrumAnalysisDelegateSettings
(
const TArray< FSoundSubmixSpectralAnalysisBandSettings >& InBandSettings, |
Sound/SoundSubmix.h | ||
static FSoundSpectrumAnalyzerSettings GetSpectrumAnalyzerSettings
(
EFFTSize FFTSize, |
Sound/SoundSubmix.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DryLevel_DEPRECATED | float | Sound/SoundSubmix.h | ||
| OutputVolume_DEPRECATED | float | Forever deprecated properties. These must be kept to always be able to migrate older assets. | Sound/SoundSubmix.h | |
| WetLevel_DEPRECATED | float | Sound/SoundSubmix.h |