Apparently festival configuration files have be customized to be "debian
specific". Not sure what that means but I assume it was so it more
easily integrated with whatever sound interface is in vogue at the
moment.

To do this, it  plays a temporary raw audio file it creates using an
external program called aplay. aplay is based on the ALSA sound
interface and comes in the "alsa-utils" package.  It appears aplay
causes festival to terminate prematurely. To *me* it appears aplay
inserts an EOF into festival's stdin/read stream.  ALSA packages have
had several changes recently.

changed the second to last line in /etc/festival.scm

FROM:

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

TO:

(Parameter.set 'Audio_Command "play -q -c 1 -t s16 -r $SR  $FILE")

play comes in the "sox" package.    SoX is very robust and well
supported.

note that "aplay"  is also mentioned in other places in
/usr/share/festival/*.scm files. When they come into use I am not sure.

There probably is a better fix, but this does work.

.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/794242

Title:
  Festival in 11.04 exits when it shouldn't and doesn't when it should

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/festival/+bug/794242/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to