unreal.TimeSynthQuantizationSettings

class unreal.TimeSynthQuantizationSettings(beats_per_minute=90.0, beats_per_bar=4, beat_division=TimeSynthBeatDivision.FOUR, event_delay_seconds=0.1, global_quantization=TimeSynthEventQuantization.BAR)

Bases: unreal.StructBase

Struct defining the time synth global quantization settings

C++ Source:

  • Plugin: TimeSynth

  • Module: TimeSynth

  • File: TimeSynthComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • beat_division (TimeSynthBeatDivision): [Read-Write] Amount of beats in a whole note. Defines number of beats in a measure.

  • beats_per_bar (int32): [Read-Write] Defines numerator when determining beat time in seconds

  • beats_per_minute (float): [Read-Write] The beats per minute of the pulse. Musical convention gives this as BPM for “quarter notes” (BeatDivision = 4).

  • event_delay_seconds (float): [Read-Write] The amount of latency to add to time synth events to allow BP delegates to perform logic on game thread

  • global_quantization (TimeSynthEventQuantization): [Read-Write] This is the rate at which FOnTimeSynthEvent callbacks are made.

property beat_division

[Read-Write] Amount of beats in a whole note. Defines number of beats in a measure.

Type

(TimeSynthBeatDivision)

property beats_per_bar

[Read-Write] Defines numerator when determining beat time in seconds

Type

(int32)

property beats_per_minute

[Read-Write] The beats per minute of the pulse. Musical convention gives this as BPM for “quarter notes” (BeatDivision = 4).

Type

(float)

property event_delay_seconds

[Read-Write] The amount of latency to add to time synth events to allow BP delegates to perform logic on game thread

Type

(float)

property global_quantization

[Read-Write] This is the rate at which FOnTimeSynthEvent callbacks are made.

Type

(TimeSynthEventQuantization)