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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback