unreal.ManualMusicSourceSettings¶
- class unreal.ManualMusicSourceSettings(tempo: float = 0.0, time_sig_numerator: int = 0, time_sig_denominator: int = 0)¶
Bases:
MusicSourceSettingsCreates 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).