Fix for Google Text to Speech

Jump to: navigation, search
Revision as of 1 July 2016 at 17:23.
The highlighted comment was edited in this revision. [diff]

Festival and Espeak work, but the shell script for Google Text to Speech thinks for a minute and then comes back with the prompt. This was fixed with the solution offered at http://stackoverflow.com/a/32053452/447830

   Add the qualifier '&client=tw-ob' to the end of your query.
   https://translate.google.com/translate_tts?ie=UTF-8&q=test&tl=zh-TW&client=tw-ob
   This answer no longer works consistently. Your ip address will be blocked by google temporarily if you abuse this too much.

Others point out that it does not matter what value is assigned to client, claiming client=whateva would work. This was not my experience. tw-ob worked, whateva did not.

    09:54, 1 July 2016