kripken / speak.js

Text-to-Speech in JavaScript using eSpeak
GNU General Public License v3.0
1.29k stars 295 forks source link

Compiling speakGenerator.js yields code that does not function and throws a JavaScript error. #34

Open MatthewRaymond opened 10 years ago

MatthewRaymond commented 10 years ago

When I compile speakGenerator.js, I get no compiler errors. However, when executing the resulting code, I get the following JavaScript error:

FS.root.contents['wav.wav'] is undefined.
logue commented 10 years ago

I've rewritten the following portion of speakGenerator.js generated:

-if (Module['noInitialRun']) {
-   shouldRunNow = false;
-}
-run();