espeak text to speech - mini edition
Posted: Sun 16 Oct 2011, 07:23
I compiled this a while back, but just got around to finding a use for it ... I am too lazy to read _all_ the books on project Gutenberg with my kids. Anyhow, it is a really stripped down version of espeak. If you like it and want more voices, languages, etc... you can install the full espeak (I renamed the binary to speak so they can coexist)
I wrote a few little scripts to go with it:
reader - will speak and read a file one line at a time (so you can read along)
------- if the file is html, it will remove the html <tags>
------- if no file is passed, you'll get a file select dialog
------- GUI works on both console and X
------- or just right click on any plain text or html file
------- this is the only one with a menu entry (Documents)
speak_clipboard - a real PITA app that most people will get annoyed with
speak_files - just speaks the text from a list of files
speak_input - you can pipe text to this and get audio out
------- Puppy dialogs could use this to improve accessibility in notifications etc...
txt2wav - converts a txt file to a spoken wav file
it is fairly extendable to other formats if you have a converter that will convert to txt (abiword used to do this, however in wary didn't seem to work with pdf, b/c I think Barry may have disabled pdf, because the rendering was pretty bad - pity, it would probably have done ok with just outputting the text)
I wrote a few little scripts to go with it:
reader - will speak and read a file one line at a time (so you can read along)
------- if the file is html, it will remove the html <tags>
------- if no file is passed, you'll get a file select dialog
------- GUI works on both console and X
------- or just right click on any plain text or html file
------- this is the only one with a menu entry (Documents)
speak_clipboard - a real PITA app that most people will get annoyed with
speak_files - just speaks the text from a list of files
speak_input - you can pipe text to this and get audio out
------- Puppy dialogs could use this to improve accessibility in notifications etc...
txt2wav - converts a txt file to a spoken wav file
it is fairly extendable to other formats if you have a converter that will convert to txt (abiword used to do this, however in wary didn't seem to work with pdf, b/c I think Barry may have disabled pdf, because the rendering was pretty bad - pity, it would probably have done ok with just outputting the text)