FMixerSubmix::GetMagnitudeForFrequencies

Gets the most recent magnitude values for each corresponding value in InFrequencies (in Hz).

Choose your operating system:

Windows

macOS

Linux

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/AudioMixerSubmix.h

Include

#include "AudioMixerSubmix.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/AudioMixerSubmix.cpp

Syntax

void GetMagnitudeForFrequencies
(
    const TArray< float > & InFrequencies,
    TArray< float > & OutMagnitudes
)

Remarks

Gets the most recent magnitude values for each corresponding value in InFrequencies (in Hz). This requires StartSpectrumAnalysis to be called first.