If you have used the Web MIDI API, you probably thought that it was a bit too low-level for the average web developer. Thinking the same, I figured this amazing technology needed a simpler API. This is why I created the WebMidi.js JavaScript Library. I wrote a full post for TangibleJS on this topic. I invite you to check it out for all the details about the library and its usage. If you’re in a hurry, the executive summary goes like this:
Tame the Web MIDI API. Send and receive MIDI messages with ease. Control instruments with user-friendly functions (playNote, sendPitchBend, etc.). React to MIDI input with simple event listeners (noteon, pitchbend, controlchange, etc.).