Here are some very simple demos based on the Web Speech API SpeechSynthesis Interface
As of 2013-06-05, this is an experimental feature in the Google Chrome browser.
Create a new SpeechSynthesisUtterance and speak it...
var u = new SpeechSynthesisUtterance('You have reached your destination'); speechSynthesis.speak(u);
These demos were written by Rob Jones - Craic Computing LLC, based on the API document, and are made freely available under the MIT License
I am not involved in the development of the API or browser software in any way.
Note: I have modified this demo for research purposes.
The above coding has been modified below to allow input from a text box.
Speak text from the text box below.