surikov / webaudiofont

Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser. See live examples.

Home Page:https://surikov.github.io/webaudiofont/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello World works fine in Chrome and Safari but not in Firefox

wrcstewart opened this issue · comments

I also tried changing the file to the aspirin one - that behaved exactly the same.

Hi
I 've "solved this" - as long as nothing is returned from function play() it works fine in Firefox. So just remove the word false.

I'm guessing its to do with the async nature of js. The return statement is being serviced before the player.queueWaveTable() is completed ??