Topics

[espeak-ng:master] new issue: emscripten demo usage clarification needed #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by animaone:
#840 emscripten demo usage clarification needed

Hello. I have compiled espeak.js and I am trying to modify the demo so I can get an IPA text from a console function, but the result.ipa variable from demo.js does not become available. there is something special in document.getElementById('ipaarea').value = result.ipa; that forces the async callback to return a correct ipa text value instead of 'undefined'? related to file: emscripten/js/demo.js