[Dapper] Best way to access speech?

Brian Fahrlander brian at fahrlander.net
Fri Apr 13 08:51:45 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Garrett wrote:
> On Thu, 12 Apr 2007 02:32:37 -0500

>>     Has anyone done something like this?
> 
> Try something like this:
> 
> echo "Take your pills" | festival --tts
> 
> Or put something in a file:
> 
> echo "take your pills" >> pill-reminder
> 
> cat pill-reminder | festival --tts
> 
> For a one-off reminder, use the "at" command
> 
> at 4 pm <enter>
> at> cat pill-reminder | festival --tts <enter>
> at> <EOT>
>  ( ctrl +D on a separate line)
> 
> You could put this in a cron job that calls the command as a script, I
> guess ( I haven't tried it, but you get the idea I hope)
> 
> You can try
> 
> date | festival --tts
> 
> for the time - but it isn't very clear here :) Someone will no doubt have
> a better way to do this ...

    Not a problem; date +%H, etc will make that happen.  I'm not sure
why this wasn't so clear from the docs I was using- I couldn't care less
about voices, inflections and the like until IT STARTS WORKING, ya know?

    (Now that it is, is there any way to make it louder?)

    ...and thanks for the response!
- --
 ------------------------------------------------------------------------
 Brian Fahrländer                 Christian, Conservative, and Technomad
 Evansville, IN                              http://Fahrlander.net/brian
 ICQ: 5119262                         AOL/Yahoo/GoogleTalk: WheelDweller
 ------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGH0Sg6PLtRzZbdhYRAuk8AJ9QRnpw0v6Ol7mTVgvjRdBVPflSgQCdFQmC
Rqu0BnYzZ0mDzlhmRJQEj24=
=R6o3
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list