Page 1 of 2

espeak: A speech synthesizer

Posted: Tue 01 Jan 2008, 03:18
by muggins
http://espeak.sourceforge.net/

Uploaded to espeak-1.47.07.pet (1.09Mbytes)

Depending on whether the pupversion you're using comes with libportaudio, you may also need the attached pet below.

This is a commandline program. Enter espeak -h to see usage. To hear a text file read to you, (in a staccato voice!), enter espeak -f textname.txt

To output as a .wav file do:

Code: Select all

espeak -f abcd.txt -w abcd.wav

Posted: Tue 01 Jan 2008, 06:26
by muggins
Being monolingual, I'd be interested to hear, from non-anglo puppets, in how some of the non-english voices sound.

ls /usr/share/espeak-data/voices generates these files:

Code: Select all

af  cs  de       el  eo  fi  grc  hr  is  la  mk  no  pt     ro  sk  sv  ta  vi  zhy
bs  cy  default  en  es  fr  hi   hu  it  mb  nl  pl  pt-pt  ru  sr  sw  !v  zh
I know that to my ears, the scottish accent in ./en/en-sc, doesn't sound particularly scottish to me.

You can use a different accent, say russian, by:

Code: Select all

espeak -v ru -f filename.txt
One deficiency seems to be that most of the voices seem to be male.

Posted: Tue 01 Jan 2008, 09:36
by Lobster
:)

there are some female voices that can be added here:
http://www.tcts.fpms.ac.be/synthesis/mb ... pybin.html

here is how to use them
http://espeak.sourceforge.net/mbrola.html

Posted: Tue 01 Jan 2008, 09:48
by muggins
Thanks Lobster,

I shall investigate further.

cheers

Posted: Wed 02 Jan 2008, 13:35
by Taavi
It's speaks finnish quite well. Just a quick test - I guess it could be better with some trimming. This is nice surprise - my language is not world wide spoken and as it's a small language it's not usual that these programs can do it. In fact among the free programs there are very little finnish speaking ones.

Posted: Thu 13 Mar 2008, 08:43
by muggins
Updated to v1.36.02

Posted: Wed 19 Mar 2008, 03:15
by MU
It has an accent of course, so you need to rewrite texts for foreign languages.
This is not understandable (correct german):
espeak "willkommen bei Puppylinux"

But this is ok ("wrong" german):
espeak "villkomen bai Puppylinux"

Nifty, impressioning for this small size.

oh, stupid me... learn to read...

espeak -v de "willkommen bei Puppylinux"

But the "manually tweaked" sounds more natural, so it will be woth the effort to modify text for certain purposes like menusystems.

Mark

Posted: Wed 19 Mar 2008, 06:36
by MU
Here is a dotpup for German speaking people:

http://dotpups.de/dotpups/Desktop-Tools/LeseTextVor.pup
mirror:
http://www.puppyfiles.ca/dotpupsde/dotp ... extVor.pup

It is 12 MB (14 MB extracted).
Espeak and portaudio are included.

Includes the female german voice "de5".

You can drag textfiles on the script "lesetextvor" or use the "öffnen mit" option of your filemanager, if it supports the Freedesktop.org MIME-Types (PCManFM, Konqueror).

To test it, you also can type in a console:
lesetextvor "hallo welt"

Mark

Posted: Wed 19 Mar 2008, 10:06
by HairyWill
cool
I did think about including mbrola and a nicer voice in jwmspeak, I misread the licence and thought that it was not free to distribute ( :oops: wrong again, read more carefully Will ).

It sounds quite staccato but I don't listen to much german. The en1 english mbrola voice was much nicer than the espeak default, definitely worth the effort if you are going to listen to it a lot.

I also tried using a couple of the french female voices to read english. I thought that my ear might be more forgiving of mispronunciation in a foreign accent. Not successful it sounds almost unintelligible. I think there are some voices specifically built to do foreign accents. I want my menus read in english by a husky french woman!

Posted: Wed 16 Jul 2008, 04:16
by muggins
Uploaded v1.37.

Posted: Sun 24 Aug 2008, 04:35
by muggins
Uploaded v1.38.

Posted: Tue 02 Dec 2008, 12:08
by muggins
Uploaded v1.39.

Posted: Sat 27 Dec 2008, 11:52
by muggins
Uploaded v1.40.
What's New in This Release: [ read full changelog ]

· New languages have been added: Latvian, Catalan, Albanian, and Armenian.
· Adjustments have been made to improve the tonal quality of speech.
· Languages have been improved, including US English and Esperanto.
· Text within < script > and < style > tag pairs is now ignored when speaking HTML.
· The command options --path and --phonout have been added.
· Many minor improvements and bugfixes have been made.

Posted: Sat 27 Dec 2008, 14:01
by Aitch
HairyWill wrote: I want my menus read in english by a husky french woman!
:lol: :lol:

Me too - In person :lol:

Aitch :)

Posted: Sat 27 Dec 2008, 20:28
by Aitch
muggins, can you have a look at speakup incorporation?

ftp://mirrors.blueyonder.co.uk/sites/ft ... P_DOCS.TXT

Good job, mate - getting closer to internationalisation, I hope....

Aitch :)

Posted: Fri 17 Apr 2009, 22:32
by mac84
I tried this on New Years pup 02.

only thing needed to make it work:
symlink usr/lib/libespeak.so.1 >> usr/lib/libespeak.so.1.1.40.

thanks alot!

Posted: Sun 19 Apr 2009, 01:02
by muggins
@mac84,

thanks for that info. I just uploaded v1.40.02, and added that symlink you mentioned,

cheers

Posted: Tue 20 Oct 2009, 00:48
by muggins
Uploaded v1.41.01.

Posted: Tue 05 Jan 2010, 11:00
by muggins
Uploaded v1.42.04.

Posted: Fri 18 Mar 2011, 08:05
by muggins
Uploaded v1.45.02. (Compiled on lupu520)