lib/midi.js
function (deltaTime, on, channel, note, velocity) {
  var status = on ? 0x90 : 0x80;

  status += channel;
  deltaTime = makeVLQ(deltaTime);

  return Buffer.concat([deltaTime, new Buffer([status, note, velocity])]);
}
function (deltaTime, on, channel, note, velocity) {
  var status = on ? 0x90 : 0x80;

  status += channel;
  deltaTime = makeVLQ(deltaTime);

  return Buffer.concat([deltaTime, new Buffer([status, note, velocity])]);
}
function ( deltaTime , on , channel , note , velocity ) { var status = on ? 0x90 : 0x80 ; status += channel ; deltaTime = makeVLQ ( deltaTime ) ; return Buffer . concat ( [ deltaTime , new Buffer ( [ status , note , velocity ] ) ] ) ; }
Make a MIDI note event
Make a MIDI note event