mudcube / MIDI.js

:musical_keyboard: Making life easy to create a MIDI-app on the web. Includes a library to program synesthesia into your app for memory recognition or for creating trippy effects. Convert soundfonts for Guitar, Bass, Drums, ect. into code that can be read by the browser. Supports multiple simultaneous instruments and perfect timing.
http://mudcu.be/midi-js/
MIT License
3.8k stars 641 forks source link

Error in plugin.webmidi.js. Outputs is not a function. #131

Closed AnastasiyaShakhova closed 9 years ago

AnastasiyaShakhova commented 9 years ago

Don't work this code: MIDI.loadPlugin({ soundfontUrl: "./soundfont/", instrument: "acoustic_grand_piano", onprogress: function(state, progress) { console.log(state, progress); }, onsuccess: function() { play(); } }); Error: plugin.webmidi.js:69 Uncaught (in promise) TypeError: object is not a function. Error occurs in Chrome when enable flag web-midi-api. Can you help me resolve this problem?

mscuthbert commented 9 years ago

Same problem here in Chrome. Reference pull-request #132

pwambach commented 9 years ago

Same here with Chrome 43 on OSX. Your changes from PR #132 did the trick, thx!

theKristi commented 9 years ago

Yep, same problem. it worked intermittently for me yesterday. Not today though...PR #132 did the trick! thanks @mscuthbert

muggy8 commented 9 years ago

same problem here. wanted to show a friend my website but got this weird error D:

Even your home site doesn't work anymore...

muggy8 commented 9 years ago

it seems to still work in firefox tho o.o