FMultichannelLoudnessAnalyzer::CalculateLoudness

Calculate loudness

Windows
MacOS
Linux

References

Module

AudioSynesthesiaCore

Header

/Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/LoudnessAnalyzer.h

Include

#include "LoudnessAnalyzer.h"

Source

/Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Private/LoudnessAnalyzer.cpp

Syntax

float CalculateLoudness
(
    TArrayView< const float > InSampleView,
    const int32 InNumChannels,
    TArray< float > & OutChannelLoudness
)

Remarks

Calculate loudness

InSampleView InSampleView is expected to contain interleaved audio with (InSettings.FFTSize * InNumChannels) number of samples.

InNumChannels Number of input channels.

OutChannelLoudness Will be populated with energies on a per channel basis.

The overall loudness is returned.

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