unreal.SynesthesiaSpectrumAnalyzer

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

Bases: AudioAnalyzer

USynesthesiaSpectrumAnalysisAnalyzer

USynesthesiaSpectrumAnalysisAnalyzer calculates the current amplitude of an audio bus in real-time.

C++ Source:

  • Plugin: AudioSynesthesia

  • Module: AudioSynesthesia

  • File: SynesthesiaSpectrumAnalysis.h

Editor Properties: (see get_editor_property/set_editor_property)

  • on_latest_spectrum_results (OnLatestSpectrumResults): [Read-Write] Delegate to receive the latest per-channel Spectrum results. If bDownmixToMono setting is true, results will be in channel index 0.

  • on_spectrum_results (OnSpectrumResults): [Read-Write] Delegate to receive all Spectrum results, per-channel, since last delegate call. If bDownmixToMono setting is true, results will be in channel index 0.

  • settings (SynesthesiaSpectrumAnalysisSettings): [Read-Write] The settings for the SynesthesiaSpectrumAnalysis audio analyzer.

get_center_frequencies(sample_rate) Array[float]

Get Center Frequencies

Parameters:

sample_rate (float) –

Returns:

out_center_frequencies (Array[float]):

Return type:

Array[float]

get_num_center_frequencies() int32

Get Num Center Frequencies

Return type:

int32

property on_latest_spectrum_results: OnLatestSpectrumResults

[Read-Write] Delegate to receive the latest per-channel Spectrum results. If bDownmixToMono setting is true, results will be in channel index 0.

Type:

(OnLatestSpectrumResults)

property on_spectrum_results: OnSpectrumResults

[Read-Write] Delegate to receive all Spectrum results, per-channel, since last delegate call. If bDownmixToMono setting is true, results will be in channel index 0.

Type:

(OnSpectrumResults)

property settings: SynesthesiaSpectrumAnalysisSettings

[Read-Write] The settings for the SynesthesiaSpectrumAnalysis audio analyzer.

Type:

(SynesthesiaSpectrumAnalysisSettings)