Answers for "javascript text to speech js code"

7

how to do text to speech in javascript

var msg = new SpeechSynthesisUtterance();
msg.text = "Hello World";
window.speechSynthesis.speak(msg);
Posted by: Guest on August-04-2020
0

speech to text in js

$('#pause-record-btn').on('click', function(e) {
  recognition.stop();
});
Posted by: Guest on September-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language