Answers for "js narrate text"

0

js narrate text

// Narrate some text:
var msg = new SpeechSynthesisUtterance('Hello world!');
window.speechSynthesis.speak(msg);

// Cancel the narration:
window.speechSynthesis.cancel();
Posted by: Guest on July-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language