Demo of Web Speech API Speech Synthesis interface (Text to Speech)

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.

 
 

Demo 1: Minimal Example

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.

Demo 5: Speak Text

Speak text from the text box below.

Web Speech Synthesis Demo