A template for web audio api note scheduling and sequencer building