By Eric Lewis
The SpeechSynthesis API exposes JavaScript functions you can call to speak text in the browser. The voices you have to choose from depend on the operating system and the browser. You can try out the voices available in your browser in the demo below!