Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

[SOUND] speechd lets your Computer speak

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
136 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Author
Message
kavau
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Wed Jul 28, 2004 11:11 pm

  • Quote

Post by kavau » Sat Sep 11, 2004 5:14 pm

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

Code: Select all

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...
Top
Viza
n00b
n00b
Posts: 18
Joined: Tue Oct 14, 2003 4:50 am

  • Quote

Post by Viza » Sat Sep 18, 2004 9:43 pm

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.
Top
Centove
n00b
n00b
Posts: 2
Joined: Wed Sep 22, 2004 10:52 pm

  • Quote

Post by Centove » Wed Sep 22, 2004 11:02 pm

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:
http://forums.gentoo.org/viewtopic.php? ... mix+plugin

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

/etc/festival/server.scm

Code: Select all

(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.
Top
Cinder6
l33t
l33t
User avatar
Posts: 767
Joined: Thu Aug 05, 2004 4:33 am
Location: California
Contact:
Contact Cinder6
Website

  • Quote

Post by Cinder6 » Sun Sep 26, 2004 6:22 am

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
Top
Blood_Roses75
n00b
n00b
Posts: 13
Joined: Thu Jun 10, 2004 11:41 pm
Location: Michigan

  • Quote

Post by Blood_Roses75 » Sat Oct 02, 2004 5:44 am

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:
Top
joseh
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Thu Dec 18, 2003 1:05 am

  • Quote

Post by joseh » Fri Oct 08, 2004 4:42 pm

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.
Top
undrwater
Guru
Guru
User avatar
Posts: 319
Joined: Tue Jan 28, 2003 2:25 am
Location: Caucasia

  • Quote

Post by undrwater » Wed Oct 13, 2004 3:17 pm

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...
Top
joseh
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Thu Dec 18, 2003 1:05 am

  • Quote

Post by joseh » Wed Oct 13, 2004 10:00 pm

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
Top
riggagoogoo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 108
Joined: Sun Apr 06, 2003 4:44 pm

  • Quote

Post by riggagoogoo » Sun Oct 31, 2004 1:05 pm

is there a new ebuild available for Festival as the current one in portage does not work.....
Top
Hydraulix
Guru
Guru
User avatar
Posts: 447
Joined: Fri Dec 12, 2003 4:28 am

  • Quote

Post by Hydraulix » Wed Dec 15, 2004 1:07 pm

I have to give this a shot.
It is the fate of operating systems to become free.
- Neal Stephenson
Top
tecknojunky
Veteran
Veteran
User avatar
Posts: 1937
Joined: Sat Oct 19, 2002 6:50 am
Location: Montréal
Contact:
Contact tecknojunky
Website

  • Quote

Post by tecknojunky » Sun Dec 26, 2004 6:37 am

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.
Top
Post Reply

136 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy