Reputation:
I am attempting to build an interface that allows timing / rhythm (potentially pitch) input to a Web Audio Oscillator node. in effect creating a 'step sequencer'.
What's the best way to trigger scheduled NoteOn for the Web Audio API Oscillator Nodes?
In a specific pattern, i.e. 1/4 notes, 1/8th notes or a user entered pattern.
Upvotes: 3
Views: 2397
Reputation: 13918
This is a great question, and in fact I just published an HTML5Rocks article on this very topic: http://www.html5rocks.com/en/tutorials/audio/scheduling/.
Upvotes: 2