MIDIInputDevice - abudaan/JazzMIDIBridge GitHub Wiki

Extends MIDIDevice

deviceType

Always returns "INPUT"

addEventListener("midimessage",callback);

Adds a "midimessage" event handler to the input. In future releases you can also listen for "metamessages".

input.addEventListener("midimessage", function (msg) {
   console.log(msg.toString());
});

See also MIDIMessage