Looks like chrome now supports midi!
Exciting times!
Still waiting on the other browsers but this will probably be a thing very soon!
In the meantime, I'm working on a plugin that will allow midi playback in construct 2 using midi.js, will keep everyone posted