midi-sdk

Require MidiJS' SDK Asynchronously

Require MidiJS' SDK Asynchronously

midi = require('midi-sdk')('path/to/midi', ['acoustic_grand_piano', 'synth_drum'])
 
midi(function () {
  MIDI.noteOn(1, note, velocity, delay)
})
$ npm install midi-sdk