unreal.ConstantQNRT

class unreal.ConstantQNRT(outer=None, name='None')

Bases: unreal.AudioSynesthesiaNRT

UConstantQNRT

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

C++ Source:

  • Plugin: AudioSynesthesia

  • Module: AudioSynesthesia

  • File: ConstantQNRT.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

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

get_channel_constant_q_at_time(seconds, channel)

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

Parameters
  • seconds (float) –

  • channel (int32) –

Returns

out_constant_q (Array(float)):

Return type

Array(float)

get_normalized_channel_constant_q_at_time(seconds, channel)

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

Parameters
  • seconds (float) –

  • channel (int32) –

Returns

out_constant_q (Array(float)):

Return type

Array(float)

property settings

[Read-Only] The settings for the audio analyzer.

Type

(ConstantQNRTSettings)