View Single Post
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#88
Originally Posted by CormacB View Post
http://pastebin.com/c66yxAeK Javascript parser/evaluator for config.xml. I think some of it is right
What is most definitely wrong is distanceposition/timeposition elements and logic attribute.

http://pastebin.com/A5eq7CDr Simple test webpage. edit the eg object in the js file to try to generate different directions. Currently all sounds are playing at once
I've downloaded both files, renamed one evalspeech.js, the other test.html. Put in a directory with a folder called english, containing the xml file and folder english_male containing voice files.

When opening it doesn't seem to be able to get
Code:
if (xmlhttp.readyState==4 && xmlhttp.status==200)
to return true. Any ideas?
 

The Following User Says Thank You to Android_808 For This Useful Post: