clockblocks.utilities.get_time

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

Return how much time has passed on the currently active clock (see time) — in seconds if it is the master clock, or parent clock beats if it is a forked child clock.

As with the tempo helpers, this reads this clock and not the master; use current_clock().master.time for that. Raises NoActiveClockError if there is no active clock.

Returns:

the current time of the active clock.