kripken/speak.js

mespeak on ipad

Opened this issue · 1 comments

I had to change mespeak.full.js line 1048 to these lines for it to work on an ipad
from
audioContext.connect(audioContext.destination);
(source.noteOn || source.start)(0)
to:
source.connect(audioContext.destination);
if (source.start) {
source.start(0);
} else if (source.noteOn) {
source.noteOn(0);
}

@posowoco I have also been unable to use this on an ipad, and I would very much like to have it fixed! Could you create / have you created a pull request for this?