Speech Synthesis API: My Browser talks !

The Web Speech API adds to JavaScript: Voice recognition (speech to text) Speech synthesis (text to speech) Here we will talk about Speech synthesis (text to speech) Let's start with a basic code: Step 1: Write this Javascript code in a html file var message = new SpeechSynthesisUtterance('Hello World'); window.speechSynthesis.speak(message); Step 2: Open the file … Continue reading Speech Synthesis API: My Browser talks !

Advertisements