Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220285 - app-accessibility/festival-1.96_beta ALSA Problems (includes solution)
Summary: app-accessibility/festival-1.96_beta ALSA Problems (includes solution)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-04 22:36 UTC by Stefan Behte (RETIRED)
Modified: 2008-08-10 20:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
~/.festivalrc for alsa (.festivalrc,119 bytes, text/plain)
2008-05-04 22:39 UTC, Stefan Behte (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2008-05-04 22:36:59 UTC
The Festival ebuild does not work out-of-the box with alsa:

# echo "Test" | festival --tts
Linux: can't open /dev/dsp

You need to create a .festivalrc that contains (I also attached it, because I know it's not the prefered way to copy&paste stuff):

(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)

Then it works just fine.
"aplay" comes with media-sound/alsa-utils, so we should make it a dependency for festival when alsa is enabled.
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2008-05-04 22:39:56 UTC
Created attachment 151861 [details]
~/.festivalrc for alsa
Comment 2 James A Shepherd 2008-07-12 11:40:16 UTC
I put the suggested Parameter.set commands in

/etc/festival/siteinit.scm

which might be a better place for them.

There are already some examples there, but not with aplay.
Comment 3 William Hubbs gentoo-dev 2008-08-10 20:50:07 UTC
This is fixed, thanks to Solar.