Closed christopherdebeer closed 11 years ago
Sorry for not getting to this earlier! I knew I had to compile it, but couldn't compile because I was waiting on some emscripten updates. And in the end that turned out to be harder than I thought because some stuff broke with the updates, and I was forced to modify some of the files relevant to this pull request (which now prevents it from being automatically mergeable).
I have now updated speak.js and made a new build. As part of that I added web worker support, which also makes it easier to hook into the speech generation process. So perhaps the callbacks should now be done in a different way, what do you think?
@kripken
The nodejs compatibility changes have been made to
pre.js
&post.js
but need to recompiled so as to be inspeak.js
/speak.full.js
.Also, could i request that we create a
examples
folder to contain all the demos, so I can add demos for nodejs, without cluttering the root.Once you've merged these changes, i'll grab the compiled version from you and resubmit to npm etc etc
chris