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 Fri 25 Jul 2014, 02:54
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
text2speech english (festival)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
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
MU


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

PostPosted: Fri 16 Jun 2006, 14:44    Post_subject:  text2speech english (festival)  

Download (11 MB):
http://dotpups.de/dotpups/Science/festival.pup

It is 34 MB extracted on your harddisk.
If you want it on another one, move and symlink /usr/local/festival

Then in a consolewindow type:

talk "this is a test. What do you think about it?"

it uses this synthesizer:
http://tcts.fpms.ac.be/synthesis/mbrola.html

It uses this program, to convert text to phonemes:
http://www.cstr.ed.ac.uk/projects/festival/

Mark

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


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Fri 16 Jun 2006, 14:58    Post_subject: hmm  

I am typiny what you told, but do not here anything ? Do I need to have anything installed ? I was assuming that everything needed was included in the dotpup...

EDIT = I believe my speaker is malfunctioning... Hooked it up to surround sound and now works !!

_________________
Heaven is on the way, until then let's get the truth out!

Edited_time_total
Back to top
View user's profile Send_private_message 
MU


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

PostPosted: Fri 16 Jun 2006, 15:05    Post_subject:  

Do you use Puppy2?
Do you get any errors?
can you hear something with this command?:

aplay /usr/share/sounds/generic.wav

Please also try this in a console:

/usr/local/festival/festival/bin/festival
(SayText "test")
CTRL-D to stop

You get any errors?
Mark
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


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

PostPosted: Fri 16 Jun 2006, 17:35    Post_subject:  

Smile What fun. Thanks Mark works OK on my (inbuilt) Via soundcard Smile
_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
MU


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

PostPosted: Fri 16 Jun 2006, 18:04    Post_subject:  

fine Kenny Very Happy


Lobster,
yeah, it's cool for single sentences. But when you try to let it say messages from the forum, it gets difficult to understand Wink

But it might be funny, to add things like
talk "ok, I'll serve you, master"
if you click on a button in a wizard Laughing

If it would not be so big...

Mark
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


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

PostPosted: Sat 17 Jun 2006, 01:09    Post_subject:  

MU wrote:

talk "ok, I'll serve you, master"


I normally say that to my computer . . .
Smile

By right clicking on a desktop icon and editing as text
I was able to add the following in a few minutes
(festival talks as the program opens - so no appreciable delay)
Have not worked out how to do an exit message

Code:
#!/bin/sh
talk "Web! Here I come!"
exec mozstart "$@"


Code:
#!/bin/sh
talk "Editor is open!" &
exec geany "$@"


Code:
#!/bin/sh
talk "Let us paint!" &
exec mtpaint "$@"


Is there an easy way for a bash random function to
call from a list of alternative festival startup texts?
Cool

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10929
Location: Arizona USA

PostPosted: Sat 17 Jun 2006, 01:41    Post_subject:  

It would be nice if Puppy could make a noise to let you know when it finished doing something that takes a while, like downloading a large file or opening a web page that takes a long time.
Back to top
View user's profile Send_private_message 
MU


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

PostPosted: Sat 17 Jun 2006, 02:51    Post_subject:  

flash, it depends.
I think you can not alter downloads from Mozilla/Firefox.

But you could rename wget to wget2.

Then create a new wget:

Code:
#!/bin/bash

wget2 "$@"
talk "Attention. . the download finished."


------------
Lobster, I don't know how to use random functions in shellscripts.
In puppybasic it might work, but I'm too tired to concentrate.
If I don't forget it, I can write something tomorrow, remind me please.

Mark
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


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

PostPosted: Sat 17 Jun 2006, 04:13    Post_subject:  

A pseudo random number sufficient here can be called like so:

Code:
date --u +%S


to give a random number in the range 1-60

Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
sunburnt


Joined: 08 Jun 2005
Posts: 5009
Location: Arizona, U.S.A.

PostPosted: Sat 17 Jun 2006, 17:47    Post_subject:  

It's amazing how much funnier ordinary phrases can be when the PC says them.
I've used text to speech before & the kids had a blast with it.

PC speech quotes;
"Nathan is a do do head"
"Lauren has a big butt"

The kids laughed for hours doing this.
Thanks MU for bringing all this back to us.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


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

PostPosted: Sat 24 Jun 2006, 10:10    Post_subject:  

Cool Calling MU
Lobster to MU . . .

random function reminder . . .

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
MU


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

PostPosted: Sat 24 Jun 2006, 16:25    Post_subject:  

ok, here it is Smile

First, you need talkext1 to read textfiles:
( description: http://www.murga-linux.com/puppy/viewtopic.php?p=54129#54129 )

Then you need some textfiles with the text to be read.
And finally "randomtext", a small Puppybasic examplescript.
I added some start-variables in it, so that you easily can customize it.

I made a dotpup of all required files with a menu-entry:
http://dotpups.de/dotpups/Science/talktext1.pup

Works with the english and the german speech-synthesizers.

Mark

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Sat 25 Nov 2006, 19:05    Post_subject:  

Robots in disguise...

Are there other voices for this thing ? The one by default is a robot. I know lobster mentioned a website sometime back that could say small lines in different tones. I will be looking up the docs, but thought I might ask in case somebody else already knew.

Thanks.

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send_private_message 
edoc


Joined: 07 Aug 2005
Posts: 4337
Location: Southeast Georgia, USA

PostPosted: Sat 25 Nov 2006, 20:50    Post_subject:  

klhrevolutionist wrote:
Robots in disguise...

Are there other voices for this thing ? The one by default is a robot. I know lobster mentioned a website sometime back that could say small lines in different tones. I will be looking up the docs, but thought I might ask in case somebody else already knew.

Thanks.


Looking forward to what you put together!

Any progress on voice-to-text for Puppy?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


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

PostPosted: Sun 26 Nov 2006, 02:15    Post_subject: all singing / dancing Puppy  

Smile

Quote:
I made a dotpup of all required files with a menu-entry:
http://dotpups.de/dotpups/Science/talktext1.pup

Works with the english and the german speech-synthesizers.


Thanks Mark Smile

Currently the only version of Puppy that talks and may even sing is
Linux Tmxxine

However it would be a fun thing for kids versions . . .

http://tmxxine.com/Wikka/wikka.php?wakka=LinuxTmxxine

The ISO link MAY still work but xara (for example) is not stable at all in this pre-release

Linux Tmxxine is not expected to be released or sing until 2008
(in this time line)

Linux Tmxxine Unleashed ( v0.8 ) may be released after version 1 - Who knows Smile

http://tmxxine.com/Wikka/wikka.php?wakka=LinuxTmxxineUnleashed

Here are podcasts on creating an all singing / dancing Puppy
http://tmxxine.com/Wikka/wikka.php?wakka=DistroCreate

here is an online demo of text to wav
http://www.research.att.com/~ttsweb/tts/demo.php

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
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) » Unsorted
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.0799s ][ Queries: 12 (0.0041s) ][ GZIP on ]