A wrapper for MIDI.js library by Michael Deal.
See the demo...
JZZ.synth.MIDIjs(params); // or JZZ.synth.MIDIjs(name, params); // or JZZ.synth.MIDIjs.register(name, params); JZZ().openMidiOut(name);
where params - is the parameters object passed to the underlying library:
<script src='JZZ.js'></script>
<script src='MIDI.js'></script>
<script src='JZZ.synth.MIDIjs.js'></script>
...
<script><!--
JZZ.synth.MIDIjs({ soundfontUrl: "./soundfont/", instrument: "acoustic_grand_piano" })
.noteOn(0, 'C5', 127).wait(500).noteOff(0, 'C5');
--></script>