festival/text to speech

Lee Colleton lee.colleton at gmail.com
Fri Mar 4 17:18:57 UTC 2005


On Fri, 4 Mar 2005 14:42:59 +0000, Ben Edwards <funkytwig at gmail.com> wrote:
> Have been trying to work out how to do text to speach in Firefox and
> Openoffice.  Had a look in the archive and the website but no luck.
> Also did a bit of googeling.
> 
> Have installed the gnome text to speaxh stuff and festival but not
> really sure how to use it.  Any pointers would be apreciated.
> 
> Ben

festival can be invoked from the command line with the option --tts
which will read from stdin and synthesize an output.

  echo "Hello, World!" | festival --tts

so if you wanted to read a webpage you would have to select the text
you want to read and then echo it into festival

  echo "Google
>
> Web    Images    Groups    News    Froogle    LocalNew!    more »
>
>   Advanced Search
>   Preferences
>   Language Tools
>
>
> Advertising Programs - Business Solutions - About Google
>
> ©2005 Google - Searching 8,058,044,651 web pages" | festival --tts

Ya dig?  Well, I hope that helps.
--
Lee Colleton




More information about the ubuntu-users mailing list