Using Chrome's speech synthesis APIs to speak out any given text. Speech synthesis is well supported on the browsers. I gave it a tough task to speak a multi lingual sentence (English + Hindi) and created this demo. If given simpler English sentence, it does translate well.
Blog is published at: https://vishwarajanand.com/tech/released-website-speech-synthesis/
Hosted on Github Pages: https://vishwarajanand.github.io/WebsiteSpeechSynthesis
-
Multi lingual text, not so clear speech:
hi tum kaisi ho, bohot din ho gaye miley hue, but pata nahi, kaha ghum ho
-
English text, very clear speech:
Hi there, do you want browser to speak on your behalf?