clockblocks.utilities.get_beat_length

clockblocks.utilities.get_beat_length() → float[source]

Return the current beat length (in seconds per beat) of the currently active clock (see beat_length). Raises NoActiveClockError if there is no active clock.

Returns:

the current beat length, in seconds per beat.