Skip to content

Instantly share code, notes, and snippets.

@wesbos
Last active July 20, 2022 18:13
Show Gist options
  • Save wesbos/cd16b8b1815825f111a2 to your computer and use it in GitHub Desktop.
Save wesbos/cd16b8b1815825f111a2 to your computer and use it in GitHub Desktop.
// paste in your console
speechSynthesis.onvoiceschanged = function() {
var msg = new SpeechSynthesisUtterance();
msg.voice = this.getVoices().filter(v => v.name == 'Cellos')[0];
msg.text = Object.keys(window).join(' ');
this.speak(msg);
};
@pokono
Copy link

pokono commented Mar 24, 2016

Awesome!!

@heytulsiprasad
Copy link

I really hope I wasn't the last one to find out this! Amazing 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment