Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound
Inheritance Hierarchy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Sound/SoundSubmix.h |
| Include | #include "Sound/SoundSubmix.h" |
Syntax
class USoundSubmix : public USoundSubmixWithParentBase
Remarks
Sound Submix class meant for applying an effect to the downmixed sum of multiple audio sources.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< USoundfieldEncodingSettingsBase > | AmbisonicsPluginSettings | Optional settings used by plugins which support ambisonics file playback. | |
| TObjectPtr< UAudioLinkSettingsAbstract > | AudioLinkSettings | Optional Audio Link Settings Object | |
| uint8: 1 | bMuteWhenBackgrounded | Mute this submix when the application is muted or in the background. | |
| uint8: 1 | bSendToAudioLink | Whether to send this Submix to AudioLink (when AudioLink is Enabled) | |
| float | DryLevel | Deprecated The dry level of the submix. Applied before submix effects and analysis are performed. | |
| FSoundModulationDestinationSettings | DryLevelModulation | The dry level of the submix in Decibels. Applied before submix effects and analysis are performed. | |
| int32 | EnvelopeFollowerAttackTime | The attack time in milliseconds for the envelope follower. | |
| int32 | EnvelopeFollowerReleaseTime | The release time in milliseconds for the envelope follower. | |
| FOnSubmixRecordedFileDone | OnSubmixRecordedFileDone | Blueprint delegate for when a recorded file is finished exporting. | |
| float | OutputVolume | Deprecated The output volume of the submix. | |
| FSoundModulationDestinationSettings | OutputVolumeModulation | The output volume of the submix in Decibels. | |
| TUniquePtr< Audio::FAudioRecordingData > | RecordingData | State handling for bouncing output. | |
| TArray< TObjectPtr< USoundEffectSubmixPreset > > | SubmixEffectChain | ||
| float | WetLevel | Deprecated The wet level of the submix. Applied after submix effects and analysis are performed. | |
| FSoundModulationDestinationSettings | WetLevelModulation | The wet level of the submixin Decibels. Applied after submix effects and analysis are performed. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USoundSubmix
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddEnvelopeFollowerDelegate
(
const UObject* WorldContextObject, |
Adds an envelope follower delegate to the submix when envelope following is enabled on this submix. | |
| void | AddSpectralAnalysisDelegate
(
const UObject* WorldContextObject, |
Adds a spectral analysis delegate to receive notifications when this submix has spectrum analysis enabled. | |
| FSoundSpectrumAnalyzerDelegateSettings | GetSpectrumAnalysisDelegateSettings
(
const TArray< FSoundSubmixSpectralAnalysisBandSettings >& InBandSettings, |
||
| FSoundSpectrumAnalyzerSettings | GetSpectrumAnalyzerSettings
(
EFFTSize FFTSize, |
||
| void | RemoveSpectralAnalysisDelegate
(
const UObject* WorldContextObject, |
Remove a spectral analysis delegate. | |
| void | SetSubmixDryLevel
(
const UObject* WorldContextObject, |
Sets the output volume of the submix in linear gain. | |
| void | SetSubmixOutputVolume
(
const UObject* WorldContextObject, |
Sets the output volume of the submix in linear gain. | |
| void | SetSubmixWetLevel
(
const UObject* WorldContextObject, |
Sets the output volume of the submix in linear gain. | |
| void | StartEnvelopeFollowing
(
FAudioDevice* InDevice |
||
| void | StartEnvelopeFollowing
(
const UObject* WorldContextObject |
Start envelope following the submix output. Register with OnSubmixEnvelope to receive envelope follower data in BP. | |
| void | StartRecordingOutput
(
const UObject* WorldContextObject, |
Start recording the audio from this submix. | |
| void | StartRecordingOutput
(
FAudioDevice* InDevice, |
||
| void | StartSpectralAnalysis
(
const UObject* WorldContextObject, |
Start spectrum analysis of the audio output. | |
| void | StartSpectralAnalysis
(
FAudioDevice* InDevice, |
||
| void | StopEnvelopeFollowing
(
const UObject* WorldContextObject |
Start envelope following the submix output. Register with OnSubmixEnvelope to receive envelope follower data in BP. | |
| void | StopEnvelopeFollowing
(
FAudioDevice* InDevice |
||
| void | StopRecordingOutput
(
const UObject* WorldContextObject, |
Finish recording the audio from this submix and export it as a wav file or a USoundWave. | |
| void | StopRecordingOutput
(
FAudioDevice* InDevice, |
||
| void | StopSpectralAnalysis
(
const UObject* WorldContextObject |
Stop spectrum analysis of the audio output. | |
| void | StopSpectralAnalysis
(
FAudioDevice* InDevice |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Handles reading, writing, and reference collecting using FArchive. |