This module wraps the Web MIDI API into a stream interface.
Web MIDI is currently only available in Chrome, but this module can potentially be used in older browsers with the WebMIDIAPIShim.
For a serverside (Node) based version of the same API check out midi-stream.
$ npm install web-midi
var midi =var inStream = midivar outStream = midiinStream// send on noteoutStream// or use pipesvar anotherStream = midiinStream
var midi =var duplexStream =duplexStream// send on noteduplexStream// or use pipesvar anotherStream =duplexStream