Chapter 8 of 10
Sequencing
Companion lab · Read full chapter in the guide →
React to DAW transport with WAX_Play / WAX_Stop and keep timing in the graph (train, seq2).
In this lab you will
- Re-render synchronously on transport edges
- Update tempo from
WAX_BPM - Avoid
setIntervalas your clock
Minimal pattern
window.WAX_Play = function () {
playing = true;
renderDevice();
};
window.WAX_Stop = function () {
playing = false;
renderDevice();
};
Try it
Example code
Loading…