UOnsetNRT

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioSynesthesia

Header

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

Include

#include "OnsetNRT.h"

Syntax

UCLASS(Blueprintable)
class UOnsetNRT : public UAudioSynesthesiaNRT

Remarks

UOnsetNRT

UOnsetNRT calculates the temporal evolution of constant q transform for a given sound. Onset is available for individual channels or the overall sound asset.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

TObjectPtr< UOn...

 

Settings

The settings for the audio analyzer.

Constructors

Name Description

Public function

UOnsetNRT()

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

void

 

GetChannelOnsetsBetweenTimes

(
    const float InStartSeconds,
    const float InEndSeconds,
    const int32 InChannel,
    TArray< float >& OutOnsetTimestamp...,
    TArray< float >& OutOnsetStrengths
)

Returns onsets which occured between start and end timestamps.

Public function Const UFunction BlueprintCallable, Category

void

 

GetNormalizedChannelOnsetsBetweenTimes

(
    const float InStartSeconds,
    const float InEndSeconds,
    const int32 InChannel,
    TArray< float >& OutOnsetTimestamp...,
    TArray< float >& OutOnsetStrengths
)

Get a specific channel cqt 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.