Navigation
API > API/Plugins > API/Plugins/AudioSynesthesiaCore
FLoudnessNRTResult contains the temporal evolution of loudness.
| Name | FLoudnessNRTResult |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/LoudnessNRTFactory.h |
| Include Path | #include "LoudnessNRTFactory.h" |
Syntax
class FLoudnessNRTResult : public IAnalyzerNRTResult
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLoudnessNRTResult() |
LoudnessNRTFactory.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ChannelIndexOverall | const int32 | Denotes the overall loudness channel index as opposed individual channel indices. | LoudnessNRTFactory.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsSortedChronologically | bool | LoudnessNRTFactory.h | ||
| ChannelLoudnessArrays | TMap< int32, TArray< FLoudnessDatum > > | LoudnessNRTFactory.h | ||
| ChannelLoudnessIntervals | TMap< int32, FFloatInterval > | LoudnessNRTFactory.h | ||
| DurationInSeconds | float | LoudnessNRTFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const FLoudnessDatum& InDatum |
Appends an FLoudnessDatum to the container. | LoudnessNRTFactory.h | |
bool ContainsChannel
(
int32 InChannelIndex |
Returns true if this object data for the given channel index | LoudnessNRTFactory.h | |
const TArray< FLoudnessDatum > & GetChannelLoudnessArray
(
int32 ChannelIdx |
Returns const reference to FLoudnessDatum array for individual channel. | LoudnessNRTFactory.h | |
float GetChannelLoudnessRange
(
int32 InChannelIdx, |
Returns range in dB of loudness result given the noise floor. | LoudnessNRTFactory.h | |
void GetChannels
(
TArray< int32 >& OutChannels |
Returns the channel indices available in result. | LoudnessNRTFactory.h | |
virtual float GetDurationInSeconds() |
Gets the duration of the analyzed audio. | LoudnessNRTFactory.h | |
const TArray< FLoudnessDatum > & GetLoudnessArray() |
Returns const reference to FLoudnessDatum array associated with overall loudness. | LoudnessNRTFactory.h | |
float GetLoudnessRange
(
float InNoiseFloor |
Returns range in dB of overall loudness result given the noise floor. | LoudnessNRTFactory.h | |
bool IsSortedChronologically() |
Returns true if FLoudnessDatum arrays are sorted in chronologically ascending order via their timestamp. | LoudnessNRTFactory.h | |
virtual void Serialize
(
FArchive& Archive |
Defines how to serialize result. | LoudnessNRTFactory.h | |
void SetDurationInSeconds
(
float InDuration |
Sets the duration of the analyzed audio. | LoudnessNRTFactory.h | |
void SortChronologically() |
Sorts FLoudnessDatum arrays in chronologically ascending order via their timestamp. | LoudnessNRTFactory.h |