I'm very new at this, so please bear with me and let me know if I'm doing anything incorrectly.
I noticed that, in the tests/index.html, the path to the SHIM is incorrect.
Also the assignment of the output port using midiAccess.outputs is incorrectly handled - the latest SHIM and the native Web MIDI API in Chrome handle .outputs as a "maplike Interface", not a function (in fact Chrome throws an error in ln 188 in the original file saying that outputs is not a function).
I've forked the project and made a few changes to this file. I'll do a pull request. Again, let me know if this is not what I'm supposed to do :)
I'm very new at this, so please bear with me and let me know if I'm doing anything incorrectly.
I noticed that, in the tests/index.html, the path to the SHIM is incorrect.
Also the assignment of the output port using midiAccess.outputs is incorrectly handled - the latest SHIM and the native Web MIDI API in Chrome handle .outputs as a "maplike Interface", not a function (in fact Chrome throws an error in ln 188 in the original file saying that outputs is not a function).
I've forked the project and made a few changes to this file. I'll do a pull request. Again, let me know if this is not what I'm supposed to do :)