UAudioComponent::GetCookedFFTData

Retrieves the current-time cooked spectral data of the sounds playing on the audio component.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/AudioComponent.h

Include

#include "Components/AudioComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/AudioComponent.cpp

Syntax

bool GetCookedFFTData
(
    const TArray< float > & FrequenciesToGet,
    TArray< FSoundWaveSpectralData > & OutSoundWaveSpectralData
)

Remarks

Retrieves the current-time cooked spectral data of the sounds playing on the audio component. Spectral data is averaged and interpolated for all playing sounds on this audio component. Returns true if there is data and the audio component is playing.

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