cwilso / WebMIDIAPIShim

Polyfill using the Jazz NPAPI MIDI plugin to implement the Web MIDI API on Mac and Windows.
380 stars 53 forks source link

Shim doesn't work in Chrome and Canary anymore #55

Closed abudaan closed 9 years ago

abudaan commented 9 years ago

Chrome has implemented a newer version of the WebMIDI draft and therefor the shim doesn't work anymore in Chrome and Canary. However, it does still work in Chromium.

I have updated my fork of the shim to the latest W3C draft and now it works in Chrome and Canary again. I have updated/fixed all tests as well. Will send a pull request as soon as I have tested it thoroughly :)

I am wondering if I should also try to find a way to support the older WebMIDI implementation in Chromium; MIDIAccess.inputs and MIDIAccess.outputs are still functions instead of MIDIInputMap and MIDIOutputMap.