The time now is Sat 25 May 2013, 06:50
All times are UTC - 4 |
| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sun 16 Oct 2011, 03:23 Post subject:
espeak text to speech - mini edition |
|
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)
 |
| Description |
|

Download |
| Filename |
speak-1.45.05-i486.pet |
| Filesize |
397.44 KB |
| Downloaded |
429 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Moose On The Loose

Joined: 24 Feb 2011 Posts: 280
|
Posted: Sun 16 Oct 2011, 11:19 Post subject:
Re: espeak text to speech - mini edition |
|
| technosaurus wrote: | I compiled this a while back
|
I quickly found a use for the old version. I will explain it here so that others can apply and adapt the idea.
It is fairly common when doing optics or electronics to have a measurement system that tells you when something is too high or too low and an adjustment for getting the thing set just right. Unfortunately, often the measurement happens over there [points off to the left] and the adjustment is here [points to the right]. A quick little script can turn the measurement into a voice so that you don't need to look at it.
My version of the script allowed the person to set the target value. The voice then shifted gears when you got close.
| Code: |
# echo "( $X - $TARGET ) < 0.5" | bc -l
|
Will do the math and comparison for you.
|
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 1098 Location: Paris charles de Gaulle Airport (10 kms°)
|
Posted: Sat 01 Dec 2012, 17:17 Post subject:
Oh yes ! further info needed Subject description: How to select the text to read ? |
|
How to select the text to read ?
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0497s ][ Queries: 12 (0.0139s) ][ GZIP on ] |