FMeterAnalyzer

Choose your operating system:

Windows

macOS

Linux

References

Module

AudioSynesthesiaCore

Header

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

Include

#include "MeterAnalyzer.h"

Syntax

class FMeterAnalyzer

Variables

Name Description

Protected variable

TArray< FClippi...

 

ClippingDataPerChannel

Protected variable

FAlignedFloatBu...

 

EnvelopeBuffer

Protected variable

TArray< FEnvelo...

 

EnvelopeDataPerChannel

Per-channel peak data.

Protected variable

FEnvelopeFollow...

 

EnvelopeFollower

Envelope follower per channel.

Protected variable

int64

 

FrameCounter

Protected variable

int32

 

NumChannels

Protected variable

int32

 

PeakHoldFrames

Protected variable

float

 

SampleRate

Protected variable

FMeterAnalyzerS...

 

Settings

Constructors

Name Description

Public function

FMeterAnalyzer

(
    float InSampleRate,
    int32 NumChannels,
    const FMeterAnalyzerSettings& InSe...
)

Construct analyzer

Functions

Name Description

Public function Const

const FMeter...

 

GetSettings()

Return const reference to settings used inside this analyzer.

Public function

FMeterAnalyz...

 

ProcessAudio

(
    TArrayView< const float > InSampleV...
)

Calculate the meter results for the input samples.

Classes

Name

Description

Protected struct

FClippingData

Per-channel clipping data.

Protected struct

FEnvelopeData

State to track the peak data.