Fixing Festival in Lucid Lynx…


I have come across a common issue with my Lucid computers.  After installing festival, the command echo "Hello world" | festival --tts gives me an error, “can’t open /dev/dsp”.  I found the fix, although I do not remember where.

Anyway, edit the following file:

sudo vi /usr/share/festival/festival.scm

and append the following lines at the end:

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

This seems to take care of that issue, and the command now works.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: