Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var msg = new SpeechSynthesisUtterance('I will let you know!'); msg.pitch = 1.3; msg.rate = 0.8;
- msg.voice = speechSynthesis.getVoices().filter(function(voice) { return voice.name == 'Google US English'; })[0];
- speechSynthesis.speak(msg);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement