Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: 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
Last edited by MU on Sun 13 Jul 2008, 21:46; edited 1 time in total
|
Back to top
|
|
 |
klhrevolutionist

Joined: 08 Jun 2005 Posts: 1124
|
Posted: 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!
Last edited by klhrevolutionist on Fri 16 Jun 2006, 15:25; edited 1 time in total
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Fri 16 Jun 2006, 17:35 Post subject:
|
|
What fun. Thanks Mark works OK on my (inbuilt) Via soundcard
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Fri 16 Jun 2006, 18:04 Post subject:
|
|
fine Kenny
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
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
If it would not be so big...
Mark
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sat 17 Jun 2006, 01:09 Post subject:
|
|
MU wrote: |
talk "ok, I'll serve you, master"
|
I normally say that to my computer . . .
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?
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 13653 Location: Arizona USA
|
Posted: 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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sat 17 Jun 2006, 04:13 Post subject:
|
|
A pseudo random number sufficient here can be called like so:
to give a random number in the range 1-60
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5089 Location: Arizona, U.S.A.
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sat 24 Jun 2006, 10:10 Post subject:
|
|
Calling MU
Lobster to MU . . .
random function reminder . . .
_________________ Puppy Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13647 Location: Karlsruhe, Germany
|
Posted: Sat 24 Jun 2006, 16:25 Post subject:
|
|
ok, here it is
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
Last edited by MU on Sun 13 Jul 2008, 21:45; edited 2 times in total
|
Back to top
|
|
 |
klhrevolutionist

Joined: 08 Jun 2005 Posts: 1124
|
Posted: 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
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 4722 Location: Southeast Georgia, USA
|
Posted: 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
TahrPup64 & Lighthouse64-b602 & JL64-603
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15588 Location: Paradox Realm
|
Posted: Sun 26 Nov 2006, 02:15 Post subject:
all singing / dancing Puppy |
|
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
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
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 Raspup 8.2 Final
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html 
Last edited by Lobster on Sun 26 Nov 2006, 03:45; edited 1 time in total
|
Back to top
|
|
 |
|