clockblocks.utilities.set_beat_length

clockblocks.utilities.set_beat_length(beat_length: float) → None[source]

Immediately set the beat length of the current clock (see beat_length). Raises NoActiveClockError if there is no active clock.

Parameters:

beat_length – the new beat length, in seconds per beat.