unreal.ManualMusicSourceSettings

class unreal.ManualMusicSourceSettings(tempo: float = 0.0, time_sig_numerator: int = 0, time_sig_denominator: int = 0)

Bases: MusicSourceSettings

Creates a URuntimeMusicSource driven by wall clock with manually specified tempo and time signature. Tempo and time signature can be changed at runtime via SetTempo() / SetTimeSignature() on the source.

C++ Source:

  • Plugin: Harmonix

  • Module: HarmonixMetasound

  • File: MusicSourceSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • tempo (float): [Read-Write] Initial tempo in BPM.

  • time_sig_denominator (int32): [Read-Write] Initial time signature denominator (beat unit).

  • time_sig_numerator (int32): [Read-Write] Initial time signature numerator (beats per bar).

property tempo: float

[Read-Write] Initial tempo in BPM.

Type:

(float)

property time_sig_denominator: int

[Read-Write] Initial time signature denominator (beat unit).

Type:

(int32)

property time_sig_numerator: int

[Read-Write] Initial time signature numerator (beats per bar).

Type:

(int32)