Page 1 of 1

espeak text to speech - mini edition

Posted: Sun 16 Oct 2011, 07:23
by technosaurus
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)

Re: espeak text to speech - mini edition

Posted: Sun 16 Oct 2011, 15:19
by Moose On The Loose
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: Select all

# echo "( $X - $TARGET ) < 0.5" | bc -l
Will do the math and comparison for you.

Oh yes ! further info needed

Posted: Sat 01 Dec 2012, 21:17
by Pelo
How to select the text to read ?

Posted: Thu 15 Aug 2013, 15:08
by Ted Dog
BUMP so I can find this later... :lol:

Text to speech

Posted: Wed 13 Nov 2013, 00:49
by Pelo
I enjoy that TTS. Could you provide us with the described scripts because that wonderfull tool read everything it sees. Merci Monsieur.
Its for improving earing english accent, ours is very bad !

Posted: Fri 27 Mar 2015, 02:41
by s243a
For some reason the download link in the original post is giving me an error. Consequently, I've uploaded the file to the following location:
http://www.pearltrees.com/s243a/espeak- ... m141130480

This was the only text2speech program I got working on precise. Probably because I'm new to puppylinux. The only thing that bugged me is that if there was a Astrix "*" in the document then it would read off every file-name in the root directory.

Difficult for me to understand but for you ?

Posted: Wed 20 Sep 2017, 10:45
by Pelo
open Tar.gz.. your opinion. Difficult for me to understand but for you ?

Posted: Wed 20 Sep 2017, 11:54
by nic007
Those with WINE installed may want to look here: http://www.murga-linux.com/puppy/viewtopic.php?t=111029
I made a pet combining the commandline tools of 2nd Speech Center (a commercial text-to- speech program) and a commandline file converter tool from balabolka (another text to speech program). The pet also includes a voice. You can convert ebook formats to text with this and convert text to mp3.

There are free windows text to speech software with GUI available if you hunt on the internet (which you can use with wine).