I took the whole idea of the text-to-speech callerid and decided that I wanted festival to announce new mail (in my inbox only and not to any of my lists).
New E-mail From: SENDERS NAME, Subject SUBJECTThis worked great, but because I listen to music while I program, I would only here a muffled version of the the message. So I decided to add another feature that would pause XMMS and then to the text-to-speech on the sender and subject, then unpause my music.
I was suprised to find that it was very simple to do this
use Xmms::Remote;I'm going to clean up my code and release this to the general public once I work out the kinds. So now instead of seeing a little blinking light every time I get new mail, my computer reads it to me :)
my $xmms = Xmms::Remote->new();
$xmms->pause; # to pause
# do festival text-to-speech stuff here
$xmms->pause; # to unpause
-biz-