Navigation
API > API/Plugins > API/Plugins/AudioSynesthesiaCore
FConstantQNRTResult is a container for the output of the FConstantQNRTWorker.
| Name | FConstantQNRTResult |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/ConstantQNRTFactory.h |
| Include Path | #include "ConstantQNRTFactory.h" |
Syntax
class FConstantQNRTResult : public IAnalyzerNRTResult
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstantQNRTResult() |
ConstantQNRTFactory.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsSortedChronologically | bool | ConstantQNRTFactory.h | ||
| ChannelCQTFrames | TMap< int32, TArray< FConstantQFrame > > | ConstantQNRTFactory.h | ||
| ChannelCQTIntervals | TMap< int32, FFloatInterval > | ConstantQNRTFactory.h | ||
| DurationInSeconds | float | ConstantQNRTFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddFrame
(
int32 InChannelIndex, |
Add a single frame of CQT data | ConstantQNRTFactory.h | |
bool ContainsChannel
(
int32 InChannelIndex |
Returns true if this result contains data for the given channel index. | ConstantQNRTFactory.h | |
FFloatInterval GetChannelConstantQInterval
(
int32 InChannelIdx |
Retrieve the difference between the maximum and minimum value in the spectrum. | ConstantQNRTFactory.h | |
void GetChannels
(
TArray< int32 >& OutChannels |
Retrieve an array of channel indices which exist in this result. | ConstantQNRTFactory.h | |
virtual float GetDurationInSeconds() |
Returns the duration of the analyzed audio in seconds | ConstantQNRTFactory.h | |
const TArray< FConstantQFrame > & GetFramesForChannel
(
int32 InChannelIndex |
Retrieve the array of frames for a single channel of audio. | ConstantQNRTFactory.h | |
bool IsSortedChronologically() |
Returns true if FConstantQFrame arrays are sorted in chronologically ascending order via their timestamp. | ConstantQNRTFactory.h | |
virtual void Serialize
(
FArchive& Archive |
Serialize or unserialize object | ConstantQNRTFactory.h | |
void SetDurationInSeconds
(
float InDuration |
Sets the duration of the analyzed audio in seconds | ConstantQNRTFactory.h | |
void SortChronologically () |
Sorts FConstantQFrame arrays in chronologically ascnding order via their timestamp. | ConstantQNRTFactory.h |