I am experimenting with the Web Midi API in Chrome / OS X. So far I am getting good results, but I am wondering:
Is there a way to determine if the MIDI WHILE interface is connected / disconnected when the application is running?
Now it works to restart the browser so that the application finds out that the interface is present or not ...
There seems to be a MIDIAccess onconnect / ondisconnect event, but I don't know what to do to make them catch fire. Is it still implemented in Chrome (Canary)?
source
share