Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 May 2013, 03:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
espeak text to speech - mini edition
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 3843

PostPosted: 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)
speak-1.45.05-i486.pet
Description 
pet

 Download 
Filename  speak-1.45.05-i486.pet 
Filesize  397.44 KB 
Downloaded  427 Time(s) 

_________________
Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Moose On The Loose


Joined: 24 Feb 2011
Posts: 278

PostPosted: 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
View user's profile Send private message 
Pelo

Joined: 10 Sep 2011
Posts: 1075
Location: Paris charles de Gaulle Airport (10 kms°)

PostPosted: 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
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

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.0492s ][ Queries: 13 (0.0127s) ][ GZIP on ]