Skip to content

Instantly share code, notes, and snippets.

@weiland
Created March 22, 2015 22:15
Show Gist options
  • Save weiland/9a285a2284ec23c16680 to your computer and use it in GitHub Desktop.
Save weiland/9a285a2284ec23c16680 to your computer and use it in GitHub Desktop.
Web Speech API - Speech Synthesis Example
speechSynthesis.getVoices().forEach(function(voice) {
utterance = new SpeechSynthesisUtterance('PENIS');
utterance.voice = voice;
speechSynthesis.speak(utterance);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment