Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOUND] speechd lets your Computer speak
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
kavau
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 87

PostPosted: Sat Sep 11, 2004 5:14 pm    Post subject: Reply with quote

nastassja wrote:
*edit* finally i fixed it, it works very fine.. till i start kde (2 arts) :/ *edit*


try the following:
Code:
echo "Hello World" | artsdsp festival --tts -

this should work within kde as well. Don't know how to do the same thing for speechd, though...
Back to top
View user's profile Send private message
Viza
n00b
n00b


Joined: 14 Oct 2003
Posts: 18

PostPosted: Sat Sep 18, 2004 9:43 pm    Post subject: Reply with quote

For anyone having the "socket: bind failed" error while trying to run speechd (festival --server):

You have to run "killall festival" to kill previous processes that sometimes don't die on their own. I had this problem before and whenever I get that error, I do killall festival and everything works perfectly fine.
Back to top
View user's profile Send private message
Centove
n00b
n00b


Joined: 22 Sep 2004
Posts: 2

PostPosted: Wed Sep 22, 2004 11:02 pm    Post subject: Reply with quote

I saw a couple of people wanted speechd and festival to play 'nice' with alsa but no real answer.

First you'll want to have the dmix stuff working:
https://forums.gentoo.org/viewtopic.php?t=122076&highlight=dmix+plugin

Once that is working now get festival in the happy family.

/etc/festival/server.scm
Code:

(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "sox -t raw -sw -r $SR $FILE -c2 -t wav - | aplay")


With that I can be playing music and listening to my computer babble at me.

Have fun.
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Sun Sep 26, 2004 6:22 am    Post subject: Reply with quote

bassvandijk wrote:
This is really cool!!!

Also nice:

forune > /dev/speech
or
dmesg > /dev/speech


or emerge kde > /dev/speech
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
Blood_Roses75
n00b
n00b


Joined: 10 Jun 2004
Posts: 13
Location: Michigan

PostPosted: Sat Oct 02, 2004 5:44 am    Post subject: Reply with quote

Another really cool thing you can do with festival is have it say a message to you whenever you startup fluxbox.

In ~/.fluxbox/startup:

# Applications you want to run with fluxbox.
echo "Welcome to fluxbox" | festival --tts -

:lol:
Back to top
View user's profile Send private message
joseh
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Fri Oct 08, 2004 4:42 pm    Post subject: Reply with quote

Turns out you can use any capable player you want to play the speech data. Example, festival had trouble with aRts and artsdsp etc, so I did this to my ~/.festivalrc

(Parameter.set 'Audio_Command "/usr/local/bin/mplayer $FILE > /dev/null 2>&1")
(Parameter.set 'Audio_Required_Format 'wav)
(Parameter.set 'Audio_Method 'Audio_Command)

and viola, it sends the data output as wav and plays with mplayer, which I have set up to work just fine with aRts.
Back to top
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 300
Location: Caucasia

PostPosted: Wed Oct 13, 2004 3:17 pm    Post subject: Reply with quote

joseh wrote:
Turns out you can use any capable player you want to play the speech data. Example, festival had trouble with aRts and artsdsp etc, so I did this to my ~/.festivalrc

(Parameter.set 'Audio_Command "/usr/local/bin/mplayer $FILE > /dev/null 2>&1")
(Parameter.set 'Audio_Required_Format 'wav)
(Parameter.set 'Audio_Method 'Audio_Command)

and viola, it sends the data output as wav and plays with mplayer, which I have set up to work just fine with aRts.


Do you notice any change in sound quality doing it this way?
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
joseh
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Wed Oct 13, 2004 10:00 pm    Post subject: Reply with quote

no. It simply works much better with my system because I run KDE and aRts all the time and mplayer works very nicely with aRts
Back to top
View user's profile Send private message
riggagoogoo
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2003
Posts: 108

PostPosted: Sun Oct 31, 2004 1:05 pm    Post subject: Reply with quote

is there a new ebuild available for Festival as the current one in portage does not work.....
Back to top
View user's profile Send private message
Hydraulix
Guru
Guru


Joined: 12 Dec 2003
Posts: 447
Location: Baltimore, Maryland

PostPosted: Wed Dec 15, 2004 1:07 pm    Post subject: Reply with quote

I have to give this a shot.
_________________
It is the fate of operating systems to become free.
- Neal Stephenson

If only You and Dead people can read hex, how many people can read hex?
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Dec 26, 2004 6:37 am    Post subject: Reply with quote

Perl!?! 8O I have a whole instance of the slow and mommoth Perl interpreter in memory just to pipe text to a voice synthetiser?!? :? Some explaining is in order.
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum