Navigation
API > API/Plugins > API/Plugins/AudioSynesthesiaCore
Inheritance Hierarchy
- IAnalyzerNRTResult
- FOnsetNRTResult
References
| Module | AudioSynesthesiaCore |
| Header | /Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/OnsetNRTFactory.h |
| Include | #include "OnsetNRTFactory.h" |
Syntax
class FOnsetNRTResult : public Audio::IAnalyzerNRTResult
Remarks
FOnsetNRTResult is a container for the output of the FOnsetNRTWorker.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChannel
(
int32 InChannelIndex |
Adds an empty channel. Useful if a channel exists without any onsets. | |
| void | AddOnset
(
int32 InChannelIndex, |
Add a single frame of CQT data | |
| bool | ContainsChannel
(
int32 InChannelIndex |
Returns true if this result contains the channel index. | |
| FFloatInterval | GetChannelOnsetInterval
(
int32 InChannelIdx |
Retrieve the interval of the maximum and minimum strengths of all onsets in channel. | |
| void | GetChannels
(
TArray< int32 >& OutChannels |
Retrieve the channels available in the result. | |
| const TArray< FOnset > & | GetOnsetsForChannel
(
int32 InChannelIndex |
Retrieve the array of frames for a single channel of audio. | |
| bool | Returns true if FOnset arrays are sorted in chronologically ascending order via their timestamp. | ||
| void | SetDurationInSeconds
(
float InDuration |
Sets the duration of the analyzed audio in seconds | |
| void | Sorts FOnset arrays in chronologically ascnding order via their timestamp. |
Overridden from IAnalyzerNRTResult
| Type | Name | Description | |
|---|---|---|---|
| float | Returns the duration of the analyzed audio in seconds | ||
| void | Serialize or unserialize object |