Tutorial 13: Advanced Clock🔗
To see what is scheduled to be played.
To see what the latency is
The clock can schedule anything with a __call__ method using
It takes an absolute time clue to schedule a functions
Clock.schedule needs to know the beat to call something on
Schedule an event after a certain durations
Clock.future needs to know how many beats ahead to call something
These are equivalent
To schedule something else
We can call something every n beats
Get the current clock and add 2. Useful for scheduling.
Issue command on the next bar
With a decorator
You can create your own function, and decorate it, to be able to use it in an .every on a Player object
And cancel it with