nfroidure / midifile

A MIDI file parser/writer using ArrayBuffers
http://karaoke.insertafter.com
MIT License
199 stars 30 forks source link

Wrong path to webMIDIAPIShim. Fixed assignment of midioutput #13

Closed argiepiano closed 8 years ago

argiepiano commented 8 years ago

In the tests/index.html, the path to the webMIDIAPISHIM.js is incorrect.

Also the assignment of the output port using midiAccess.outputs is incorrectly handled - 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).

nfroidure commented 8 years ago

Thx!