mbitsnbites / soundbox

SoundBox is an HTML5 synth music tracker/editor, suitable for creating music for small JavaScript demos (4K / 8K).
https://gitlab.com/mbitsnbites/soundbox
429 stars 75 forks source link

Bug: Uncaught (in promise) TypeError: mMIDIAccess.inputs is not a function #57

Open vsariola opened 7 years ago

vsariola commented 7 years ago

My Windows/Chrome Javascript console shows the following error:

Uncaught (in promise) TypeError: mMIDIAccess.inputs is not a function at onMIDIStarted (gui.js?id=61734:1258) at

mbitsnbites commented 7 years ago

The MIDI support needs some love. I have not updated the shim, nor the MIDI code. The Web MIDI API has probably changed since I tried it last time (years ago).

esaruoho commented 5 years ago

Chiming into the same ticket:

When I locally launch (Mac/Chrome) Soundbox, I get the following error:

gui.js?id=82308:1258 Uncaught (in promise) TypeError: mMIDIAccess.inputs is not a function
    at onMIDIStarted (gui.js?id=82308:1258)
onMIDIStarted @ gui.js?id=82308:1258
Promise.then (async)
initMIDI @ gui.js?id=82308:1295
CGUI.init @ gui.js?id=82308:4274
gui_init @ gui.js?id=82308:4310
onload @ (index):48