demosys.timers.rocketmusic.Timer¶
-
demosys.timers.rocketmusic.
Timer
¶ Combines music.Timer and rocket.Timer
Methods¶
-
Timer.
start
()¶ Start the timer
-
Timer.
stop
() → float¶ Stop the timer
Returns: The current time
-
Timer.
pause
()¶ Pause the timer
-
Timer.
toggle_pause
()¶ Toggle pause mode
-
Timer.
get_time
() → float¶ Get the current time in seconds
Returns: The current time in seconds
-
Timer.
set_time
(value: float)¶ Set the current time jumping in the timeline
Parameters: value (float) – The new time value