Speech Synthesis: No Voices

Trying theses examples in the 0.15.7 version of atom-shell on a Mac with OS X Mavericks doesn’t produce any speech but also no error is thrown.

However, there’s one sign, that something went wrong. Logging speechSynthesis into the console, the flags speaking and pending are true.

The problem is, as far as I know, that there are no voices available. speechSynthesis.getVoices() returns an empty array.

1 possible answer(s) on “Speech Synthesis: No Voices

  1. @ghost If you are at *nix you can install espeak which should populate voices array with espeak voices. Have not tried electron, launching chromium with --enable-speech-dispatcher flag set at chromium results in audio output at speak() call, without api keys.