espeak: A speech synthesizer

Audio editors, music players, video players, burning software, etc.
Message
Author
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

espeak: A speech synthesizer

#1 Post 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
Attachments
portaudio-v19-i486.pet
(59.96 KiB) Downloaded 3029 times
Last edited by muggins on Sat 20 Apr 2013, 11:39, edited 12 times in total.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post 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.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post 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
Last edited by Lobster on Sun 24 Aug 2008, 04:37, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

Thanks Lobster,

I shall investigate further.

cheers

Taavi
Posts: 146
Joined: Fri 10 Mar 2006, 19:23
Location: Suomi, Finland

#5 Post 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.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#6 Post by muggins »

Updated to v1.36.02

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post 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
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#9 Post 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!
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#10 Post by muggins »

Uploaded v1.37.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#11 Post by muggins »

Uploaded v1.38.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#12 Post by muggins »

Uploaded v1.39.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#13 Post 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.

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#14 Post by Aitch »

HairyWill wrote: I want my menus read in english by a husky french woman!
:lol: :lol:

Me too - In person :lol:

Aitch :)

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#15 Post 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 :)

mac84
Posts: 43
Joined: Mon 18 Feb 2008, 06:32

#16 Post 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!

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#17 Post by muggins »

@mac84,

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

cheers

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#18 Post by muggins »

Uploaded v1.41.01.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#19 Post by muggins »

Uploaded v1.42.04.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#20 Post by muggins »

Uploaded v1.45.02. (Compiled on lupu520)

Post Reply