This is a simple demonstration of using HTML5 webspeech API using the webspeech wrapper library. You can try both playing a text in robotic voice and recognize your own voice which will appear in the same text box. As for now, the language is fixed as english. So, you will have to use english for both kind of demo. I will try to improvise it with other language support soon!
Visit The HTML5 Web Speech API Tutorial