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 Wed 27 Aug 2014, 05:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
espeak: A speech synthesizer
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Mon 31 Dec 2007, 23:18    Post_subject:  espeak: A speech synthesizer  

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:
espeak -f abcd.txt -w abcd.wav
portaudio-v19-i486.pet
Description 
pet

 Download 
Filename  portaudio-v19-i486.pet 
Filesize  59.96 KB 
Downloaded  2056 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Tue 01 Jan 2008, 02:26    Post_subject:  

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:

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:
espeak -v ru -f filename.txt


One deficiency seems to be that most of the voices seem to be male.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 01 Jan 2008, 05:36    Post_subject:  

Smile

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

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

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Tue 01 Jan 2008, 05:48    Post_subject:  

Thanks Lobster,

I shall investigate further.

cheers
Back to top
View user's profile Send_private_message 
Taavi

Joined: 10 Mar 2006
Posts: 146
Location: Suomi, Finland

PostPosted: Wed 02 Jan 2008, 09:35    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Thu 13 Mar 2008, 04:43    Post_subject:  

Updated to v1.36.02
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 18 Mar 2008, 23:15    Post_subject:  

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

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 19 Mar 2008, 02:36    Post_subject:  

Here is a dotpup for German speaking people:

http://dotpups.de/dotpups/Desktop-Tools/LeseTextVor.pup
mirror:
http://www.puppyfiles.ca/dotpupsde/dotpups/Desktop-Tools/LeseTextVor.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

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Wed 19 Mar 2008, 06:06    Post_subject:  

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 ( Embarassed 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: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Wed 16 Jul 2008, 00:16    Post_subject:  

Uploaded v1.37.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Sun 24 Aug 2008, 00:35    Post_subject:  

Uploaded v1.38.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Tue 02 Dec 2008, 08:08    Post_subject:  

Uploaded v1.39.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6681
Location: lisbon

PostPosted: Sat 27 Dec 2008, 07:52    Post_subject:  

Uploaded v1.40.

Quote:

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.
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 27 Dec 2008, 10:01    Post_subject:  

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


Laughing Laughing

Me too - In person Laughing

Aitch Smile
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 27 Dec 2008, 16:28    Post_subject:  

muggins, can you have a look at speakup incorporation?

ftp://mirrors.blueyonder.co.uk/sites/ftp.slackware.com/slackware-12.2/SPEAKUP_DOCS.TXT

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

Aitch Smile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0770s ][ Queries: 12 (0.0051s) ][ GZIP on ]