UAudioComponent::GetCookedFFTData

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

Choose your operating system:

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.