jsmidi
jsmidi copied to clipboard
Long note duration creates pause before playing
For instance with:
var note = MidiEvent.createNote({
time: 0,
duration: 1000,
pitch: 60,
channel: 0,
volume: 90
});
I believe this is caused by the function MidiEvent.noteOn that takes the duration parameter:
time: note.duration || duration || 0
instead of setting the start time to 0.
Thanks for reporting Arthur, I will be looking into that issue tonight!