FConstantQNRTResult

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

Windows
MacOS
Linux

Inheritance Hierarchy

IAnalyzerNRTResult

FConstantQNRTResult

References

Module

AudioSynesthesiaCore

Header

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

Include

#include "ConstantQNRTFactory.h"

Syntax

class FConstantQNRTResult : public Audio::IAnalyzerNRTResult

Remarks

FConstantQNRTResult

FConstantQNRTResult is a container for the output of the FConstantQNRTWorker.

Constructors

Name Description

Public function

FConstantQNRTResult()

Functions

Name Description

Public function

void

 

AddFrame

(
    int32 InChannelIndex,
    float InTimestamp,
    TArrayView< const float > InSpectru...
)

Add a single frame of CQT data

Public function Const

bool

 

ContainsChannel

(
    int32 InChannelIndex
)

Returns true if this result contains data for the given channel index.

Public function Const

FFloatInterv...

 

GetChannelConstantQInterval

(
    int32 InChannelIdx
)

Retrieve the difference between the maximum and minimum value in the spectrum.

Public function Const

void

 

GetChannels

(
    TArray< int32 >& OutChannels
)

Retrieve an array of channel indices which exist in this result.

Public function Const

const TArray...

 

GetFramesForChannel

(
    int32 InChannelIndex
)

Retrieve the array of frames for a single channel of audio.

Public function Const

bool

 

IsSortedChronologically()

Returns true if FConstantQFrame arrays are sorted in chronologically ascending order via their timestamp.

Public function

void

 

SetDurationInSeconds

(
    float InDuration
)

Sets the duration of the analyzed audio in seconds

Public function

void

 

SortChronologically()

Sorts FConstantQFrame arrays in chronologically ascnding order via their timestamp.

Overridden from IAnalyzerNRTResult

Name Description

Public function Virtual Const

float

 

GetDurationInSeconds()

Returns the duration of the analyzed audio in seconds

Public function Virtual

void

 

Serialize

(
    FArchive& Archive
)

Serialize or unserialize object

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