FMultichannelLoudnessAnalyzer::CalculatePerceptualEnergy

Calculate perceptual energy.

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 CalculatePerceptualEnergy
(
    TArrayView< const float > InSampleView,
    const int32 InNumChannels,
    TArray< float > & OutChannelEnergies
)

Remarks

Calculate perceptual energy.

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

InNumChannels Number of input channels.

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

The overall perceptual energy 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