Advertisement
dwhitzzz

SpeechRequest Voice Client

Dec 15th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var speaker = new SpeechSynthesisUtterance( Array(10).join("banana"-1) + " Batman!" );
  2. speaker.voice = window.speechSynthesis.getVoices()[10];
  3. window.speechSynthesis.speak(speaker);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement