Melody and chord scheduling
Play the complete melody and chords of Twinkle, Twinkle, Little Star (about 24 seconds), with chords panned left and melody panned right.
A bounded 200 ms lookahead admits absolute playNote() at times incrementally. Audio-frame durations release notes; stop() cancels pending notes. Delayed timer windows skip missed beats instead of queuing a burst. Click Play to start audio.