I need to play Google text-to-speech in JavaScript. The idea is to use the web service:
http://translate.google.com/translate_t
Another option now may be HTML5 text to speech, which is in Chrome 33+ and many others.
Here is a sample:
var msg = new SpeechSynthesisUtterance('Hello World'); window.speechSynthesis.speak(msg);
With this, perhaps you do not need to use a web service at all.