I saw this (google does this with google translate), but are there any open source files?
Thanks everyone!
I could be wrong, but I doubt that they do this in JavaScript in truth. They are quite confusing their code, but I'm sure they make a sound file after serving the text to the speech on the server, just using JS to load the src url for the audio object.
Doing this on the server provides many additional parameters: http://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=open+source+text+to+speech
http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.aspx
http://thetutlage.com/post=TUT178, 100% , javascript .