ULoudnessNRT

[ULoudnessNRT](API\Plugins\AudioSynesthesia\ULoudnessNRT)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioSynesthesia

Header

/Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesia/Classes/LoudnessNRT.h

Include

#include "LoudnessNRT.h"

Syntax

UCLASS(Blueprintable)
class ULoudnessNRT : public UAudioSynesthesiaNRT

Remarks

ULoudnessNRT

ULoudnessNRT calculates the temporal evolution of perceptual loudness for a given sound. Loudness is available for individual channels or the overall sound asset. Normalized loudness values convert the range to 0.0 to 1.0 where 0.0 is the noise floor and 1.0 is the maximum loudness of the particular sound.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

TObjectPtr< ULo...

 

Settings

The settings for the audio analyzer.

Constructors

Name Description

Public function

ULoudnessNRT()

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

void

 

GetChannelLoudnessAtTime

(
    const float InSeconds,
    const int32 InChannel,
    float& OutLoudness
)

Get a specific channel loudness of the analyzed sound at a given time.

Public function Const UFunction BlueprintCallable, Category

void

 

GetLoudnessAtTime

(
    const float InSeconds,
    float& OutLoudness
)

Get the overall loudness of the analyzed sound at a given time.

Public function Const UFunction BlueprintCallable, Category

void

 

GetNormalizedChannelLoudnessAtTime

(
    const float InSeconds,
    const int32 InChannel,
    float& OutLoudness
)

Get a specific channel normalized loudness of the analyzed sound at a given time.

Public function Const UFunction BlueprintCallable, Category

void

 

GetNormalizedLoudnessAtTime

(
    const float InSeconds,
    float& OutLoudness
)

Get the normalized overall loudness of the analyzed sound at a given time.

Overridden from UAudioAnalyzerNRT

Name Description

Protected function Virtual Const

FName

 

GetAnalyzerNRTFactoryName()

Return the name of the IAudioAnalyzerNRTFactory associated with this UAudioAnalyzerNRT

Public function Virtual Const

TUniquePtr< ...

 

GetSettings

(
    const float InSampleRate,
    const int32 InNumChannels
)

Convert ULoudnessNRTSettings to FLoudnessNRTSettings

Overridden from UAudioAnalyzerAssetBase

Name Description

Public function Virtual Const

FText

 

GetAssetActionName()

GetAssetActionName() returns the FText displayed in the editor.

Public function Virtual Const

UClass *

 

GetSupportedClass()

GetSupportedClass() returns the class which should be associated with these asset actions.