FLoudnessAnalyzer

[FLoudnessAnalyzer](API\Plugins\AudioSynesthesiaCore\FLoudnessAnalyzer)

Windows
MacOS
Linux

References

Module

AudioSynesthesiaCore

Header

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

Include

#include "LoudnessAnalyzer.h"

Syntax

class FLoudnessAnalyzer

Remarks

FLoudnessAnalyzer

FLoudnessAnalyzer will calculate perceptual energy or loudness one window at a time. This analyzer only handles mono audio. See FMultichannelLoudnessAnalyzer for multichannel support.

Constructors

Name Description

Public function

FLoudnessAnalyzer

(
    float InSampleRate,
    const FLoudnessAnalyzerSettings& I...
)

Construct analyzer

Functions

Name Description

Public function

float

 

CalculateLoudness

(
    TArrayView< const float > InSampleV...
)

Calculats the loudness for the input samples.

Public function

float

 

CalculatePerceptualEnergy

(
    TArrayView< const float > InSampleV...
)

Calculats the perceptual energy for the input samples.

Public function Static

float

 

ConvertPerceptualEnergyToLoudness

(
    float InPerceptualEnergy
)

Convert from perceptual energy to loudness [Loudness = 10 * log_10(Energy)]

Public function Const

const FLoudn...

 

GetSettings()

Return const reference to settings used inside this analyzer.

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