Forums / Craftwork / Server-side / Google Text to Speech API

#1 2010-12-19 05:32
  • Background: google has a fantastic text-to-speech translation engine.

  • This can be accessed with one URL:!

  • Problem: This API is limited to 100 characters per GET.

  • Solution: PHP script that can take a long body of text, split it into 100 character chunks (without splitting words) and then create a m3u playlist of the generated URLs.

  • Try it for yourself and let me know what you think.

    [save as index.php]
#2 2010-12-21 21:57
Thanks, that's a very cool demonstration. Someone should make a cotonti plugin of it. However, google probably wouldn't be very glad about such an usage of their TTS system. :)