(also posted) Festival is pretty cool. I suggest the male british speaker, Roger. I can pipe my email (since I use mutt) to a simple script I made, which then pipes it to festival. The script filters out stuff like <>[]:-_ and things like the email header, content-type, x-mailer and other things. The script is simple, but the concept can be grown into creating cleaner, more tts readable email. See attached. fst is the script, fest.ignore is an ignore file. Wherever you put fest.ignore, modify the path in fst. fst.ignore contains matches. For anything matched in this file, the whole line is removed. Good for Content-Type...., Reply-To:.. charset=... and does not have to be the beginning of a file, or a whole line. Don't put a blank line in the file or you will "ignore" everything. These lines use regular expressions. In fst, there is a line which removes single characters from individual lines: perl -pi -e 's/[<>\*\-\[\]_:]/ /g' This replaces these characters: <>*-[]_: with a space. Larger phrases can be removed by adding in another section in the command pipe: (before |festival --ts) |perl -pi -e 's/search/replace-can_be_empty/g' Cory On Thu, Jul 12, 2001 at 12:06:27PM -0700, Seth Cohn wrote: > Festival is amazing. > > http://www.cstr.ed.ac.uk/projects/festival/ > > or as always: apt-get install festival > for those of you running Debian :) > > there are others... > > --- "James S. Kaplan" <[EMAIL PROTECTED]> wrote: > > At 10:01 AM 7/12/2001, you wrote: > > > ** This message was sent from the EUGLUG > > message board. Since ** > > > ** the person who submitted this question > > may not be on the ** > > > ** mailing list, please reply directly or on > > the message board: ** > > > ** > > http://www.euglug.org/board.phtml?id=97 > > ** > > > > > >Is there a linux text to speech program, I am > > jealous because my > > >daughters iBook can read her email to her > > while she is doing > > >other things. > > > > http://www.tycho.com/packages/speak > > > > Primitive, but effective... > > > > - jk > > ----------------------------- > > James S. Kaplan KG7FU > > Eugene Oregon USA > > [EMAIL PROTECTED] > > http://www.rio.com/~kg7fu > > ICQ # 1227639 > > Have YOU tried Linux today? > > ----------------------------- > > > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/
grep -A1000 From: |grep -vf ~/bin/fest.ignore | perl -pi -e 's/[<>\*\-\[\]_:]/ /g' |festival --tts # grep -B1000 DOCTYPE | -- usually at the top of html email
MIME Message-ID Content-Type Content-Transfer boundary= Received: Sender: Reply-To: NextPart charset= Date: some or all of this message may not be legible. DOCTYPE X-.*:
