Skip to content

Instantly share code, notes, and snippets.

View robhanlon22's full-sized avatar

Rob Hanlon robhanlon22

View GitHub Profile
// 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);
};