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

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