USoundSubmix

Sound Submix class meant for applying an effect to the downmixed sum of multiple audio sources.

Windows
MacOS
Linux

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

Name Description

Public variable

USoundfieldEnco...

 

AmbisonicsPluginSettings

Optional settings used by plugins which support ambisonics file playback.

Public variable

uint8: 1

 

bMuteWhenBackgrounded

Mute this submix when the application is muted or in the background.

Public variable

int32

 

EnvelopeFollowerAttackTime

The attack time in milliseconds for the envelope follower.

Public variable

int32

 

EnvelopeFollowerReleaseTime

The release time in milliseconds for the envelope follower.

Public variable

FOnSubmixRecord...

 

OnSubmixRecordedFileDone

Blueprint delegate for when a recorded file is finished exporting.

Public variable

float

 

OutputVolume

The output volume of the submix. Applied after submix effects and analysis are performed.

Protected variable

TUniquePtr< Aud...

 

RecordingData

State handling for bouncing output.

Public variable

TArray< USoundE...

 

SubmixEffectChain

Constructors

Name Description

Public function

USoundSubmix

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddEnvelopeFollowerDelegate

(
    const UObject* WorldContextObj...,
    const FOnSubmixEnvelopeBP& OnSubmi...
)

Public function

void

 

SetSubmixOutputVolume

(
    const UObject* WorldContextObj...,
    float InOutputVolume
)

Sets the output volume of the submix.

Public function

void

 

StartEnvelopeFollowing

(
    const UObject* WorldContextObj...
)

Start envelope following the submix output. Register with OnSubmixEnvelope to receive envelope follower data in BP.

Public function

void

 

StartEnvelopeFollowing

(
    FAudioDevice* InDevice
)

Public function

void

 

StartRecordingOutput

(
    const UObject* WorldContextObj...,
    float ExpectedDuration
)

Start recording the audio from this submix.

Public function

void

 

StartRecordingOutput

(
    FAudioDevice* InDevice,
    float ExpectedDuration
)

Public function

void

 

StopEnvelopeFollowing

(
    const UObject* WorldContextObj...
)

Start envelope following the submix output. Register with OnSubmixEnvelope to receive envelope follower data in BP.

Public function

void

 

StopEnvelopeFollowing

(
    FAudioDevice* InDevice
)

Public function

void

 

StopRecordingOutput

(
    const UObject* WorldContextObj...,
    EAudioRecordingExportType ExportTyp...,
    const FString& Name,
    FString Path,
    USoundWave* ExistingSoundWaveT...
)

Finish recording the audio from this submix and export it as a wav file or a USoundWave.

Public function

void

 

StopRecordingOutput

(
    FAudioDevice* InDevice,
    EAudioRecordingExportType ExportTyp...,
    const FString& Name,
    FString Path,
    USoundWave* ExistingSoundWaveT...
)

Overridden from UObject

Name Description

Protected function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss