-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Description
I have a sequence of notes with delay data.
I trigger this sequence of notes using noteOn function and I loop function noteOn for number of notes.
Manytimes, result is not good and notes do not play as they come in sequence.
Some ending notes and some starting notes start playing together when loop is started, because of this result is not good for few seconds in the starting.
Can anybody guide what is correct way to play sequence of notes
Here is code sample
var notes = [67, 78, 67 ,67,90, 56,..,...,....]
var delay = [.........]
for(var i=0; l < notes.length; i++)
{
MIDI.noteOn(channel, notes[i], velocity, delay[i]);
}
Metadata
Metadata
Assignees
Labels
No labels