Answers for "stackoverflow narrate text js"

0

stackoverflow narrate text js

// 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