Fork me on GitHub

/4 drum pattern, tempo BPM

This example demonstrates the use of 2 methods for scheduling events WAAClock.setTimeout and AudioNode.start2 ; and demonstrate how to cancel an event at the last moment using Event.clear.
note : you can change the tempo and the signature. For example go to ?tempo=300&signature=7 to have 7 beats played at tempo 300.

Source code