unreal.AudioAnalyzerNRT

class unreal.AudioAnalyzerNRT(outer: Object | None = None, name: Name | str = 'None')

Bases: AudioAnalyzerAssetBase

UAudioAnalyzerNRT

UAudioAnalyzerNRT applies an analyzer to a sound using specific settings, stores the results and exposes them via blueprints.

Subclasses of UAudioAnalyzerNRT must implement GetAnalyzerNRTFactoryName() to associate the UAudioAnalyzerNRT with an IAudioAnalyzerNRTFactory implementation.

To support blueprint access, subclasses can implement UFUNCTIONs to expose the data returned by GetResult().

C++ Source:

  • Module: AudioAnalyzer

  • File: AudioAnalyzerNRT.h

Editor Properties: (see get_editor_property/set_editor_property)

  • duration_in_seconds (float): [Read-Write] The duration of the analyzed audio in seconds.

  • on_analysis_complete (OnAudioAnalyzerNRTAnalysisComplete): [Read-Write] Delegate to receive all meter results, per-channel, since last delegate call.

  • sound (SoundWave): [Read-Write] The USoundWave which is analyzed.

analyze_audio() None

Performs the analaysis of the audio

property duration_in_seconds: float

[Read-Only] The duration of the analyzed audio in seconds.

Type:

(float)

property on_analysis_complete: OnAudioAnalyzerNRTAnalysisComplete

[Read-Write] Delegate to receive all meter results, per-channel, since last delegate call.

Type:

(OnAudioAnalyzerNRTAnalysisComplete)

set_sound(sound) None

Set Sound

Parameters:

sound (SoundWave)

property sound: SoundWave

[Read-Only] The USoundWave which is analyzed.

Type:

(SoundWave)