Navigation
API > API/Runtime > API/Runtime/AudioMixer
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UAudioMixerBlueprintLibrary
References
| Module | AudioMixer |
| Header | /Engine/Source/Runtime/AudioMixer/Public/AudioMixerBlueprintLibrary.h |
| Include | #include "AudioMixerBlueprintLibrary.h" |
Syntax
class UAudioMixerBlueprintLibrary : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMasterSubmixEffect
(
const UObject* WorldContextObject, |
Adds a submix effect preset to the master submix. | |
| void | AddSourceEffectToPresetChain
(
const UObject* WorldContextObject, |
Adds source effect entry to preset chain. Only effects the instance of the preset chain | |
| int32 | AddSubmixEffect
(
const UObject* WorldContextObject, |
Adds a submix effect preset to the given submix at the end of its submix effect chain. | |
| void | ClearMasterSubmixEffects
(
const UObject* WorldContextObject |
Clears all master submix effects. | |
| void | ClearSubmixEffectChainOverride
(
const UObject* WorldContextObject, |
Clears all submix effect overrides on the given submix and returns it to the default effect chain. | |
| void | ClearSubmixEffects
(
const UObject* WorldContextObject, |
Clears all submix effects on the given submix. | |
| FString | Conv_AudioOutputDeviceInfoToString
(
const FAudioOutputDeviceInfo& Info |
Returns the device info in a human readable format | |
| void | GetAvailableAudioOutputDevices
(
const UObject* WorldContextObject, |
Gets information about all audio output devices available in the system | |
| void | GetCurrentAudioOutputDeviceName
(
const UObject* WorldContextObject, |
Gets information about the currently used audio output device | |
| void | GetMagnitudeForFrequencies
(
const UObject* WorldContextObject, |
Retrieve the magnitudes for the given frequencies. | |
| int32 | GetNumberOfEntriesInSourceEffectChain
(
const UObject* WorldContextObject, |
Returns the number of effect chain entries in the given source effect chain. | |
| void | GetPhaseForFrequencies
(
const UObject* WorldContextObject, |
Retrieve the phases for the given frequencies. | |
| bool | IsAudioBusActive
(
const UObject* WorldContextObject, |
Queries if the given audio bus is active (and audio can be mixed to it). | |
| TArray< FSoundSubmixSpectralAnalysisBandSettings > | MakeFullSpectrumSpectralAnalysisBandSettings
(
int32 InNumBands, |
Make an array of logarithmically spaced bands. | |
| TArray< FSoundSubmixSpectralAnalysisBandSettings > | MakeMusicalSpectralAnalysisBandSettings
(
int32 InNumSemitones, |
Make an array of musically spaced bands with ascending frequency. | |
| TArray< FSoundSubmixSpectralAnalysisBandSettings > | MakePresetSpectralAnalysisBandSettings
(
EAudioSpectrumBandPresetType InBandPresetType, |
Make an array of bands which span the frequency range of a given EAudioSpectrumBandPresetType. | |
| void | PauseRecordingOutput
(
const UObject* WorldContextObject, |
Pause recording audio, without finalizing the recording to disk. | |
| void | PrimeSoundCueForPlayback
(
USoundCue* SoundCue |
Begin loading any sounds referenced by a sound cue into the cache so that it can be played immediately. | |
| void | PrimeSoundForPlayback
(
USoundWave* SoundWave, |
Begin loading a sound into the cache so that it can be played immediately. | |
| void | RemoveMasterSubmixEffect
(
const UObject* WorldContextObject, |
Removes a submix effect preset from the master submix. | |
| void | RemoveSourceEffectFromPresetChain
(
const UObject* WorldContextObject, |
Removes source effect entry from preset chain. Only affects the instance of preset chain. | |
| void | RemoveSubmixEffect
(
const UObject* WorldContextObject, |
Removes all instances of a submix effect preset from the given submix. | |
| void | RemoveSubmixEffectAtIndex
(
const UObject* WorldContextObject, |
Removes the submix effect at the given submix chain index, if there is a submix effect at that index. | |
| void | ReplaceSubmixEffect
(
const UObject* WorldContextObject, |
Replaces the submix effect at the given submix chain index, adds the effect if there is none at that index. | |
| void | ResumeRecordingOutput
(
const UObject* WorldContextObject, |
Resume recording audio after pausing. | |
| void | SetBypassSourceEffectChainEntry
(
const UObject* WorldContextObject, |
Set whether or not to bypass the effect at the source effect chain index. | |
| void | SetSubmixEffectChainOverride
(
const UObject* WorldContextObject, |
Sets a submix effect chain override on the given submix. | |
| void | StartAnalyzingOutput
(
const UObject* WorldContextObject, |
Start spectrum analysis of the audio output. | |
| void | StartAudioBus
(
const UObject* WorldContextObject, |
Starts the given audio bus. | |
| void | StartRecordingOutput
(
const UObject* WorldContextObject, |
Start recording audio. | |
| void | StopAnalyzingOutput
(
const UObject* WorldContextObject, |
Stop spectrum analysis. | |
| void | StopAudioBus
(
const UObject* WorldContextObject, |
Stops the given audio bus. | |
| USoundWave * | StopRecordingOutput
(
const UObject* WorldContextObject, |
Stop recording audio. | |
| void | SwapAudioOutputDevice
(
const UObject* WorldContextObject, |
Hotswaps to the requested audio output device | |
| float | TrimAudioCache
(
float InMegabytesToFree |
Trim memory used by the audio cache. Returns the number of megabytes freed. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | RemoveSubmixEffectPreset
(
const UObject* WorldContextObject, |
RemoveSubmixEffectPreset is deprecated, use RemoveSubmixEffect. | |
| void | RemoveSubmixEffectPresetAtIndex
(
const UObject* WorldContextObject, |
RemoveSubmixEffectPresetAtIndex is deprecated, use RemoveSubmixEffectAtIndex. | |
| void | ReplaceSoundEffectSubmix
(
const UObject* WorldContextObject, |
ReplaceSoundEffectSubmix is deprecated, use ReplaceSubmixEffect. |