/"Try using 'padsp festival' instead of just 'festival' when running it,
because you may need to use that wrapper for /dev/dsp to exist in that
context."/
It works! Thank you indeed!
And I have found another solution on 
https://wiki.archlinux.org/index.php/Festival

/Switch to ALSA output by adding these lines to the end of your
.festivalrc file, or to /usr/share/festival/festival.scm : /

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

It also works for me.

/I guess if there were enough interest I could clean the notes up into a
HOWTO to save other people this kind of pain?/

Of course there are. And I'm looking forward it :-)
> Cherrot wrote:
>> message from Cherrot <[email protected]> to festival-talk
>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>> Recently I have successfully build the Festival 2.1, but it just can't
>> make a sound!
>>
>> festival> (SayText "Hello World")
>> Linux: can't open /dev/dsp
>> #<Utterance 0xb6908248>
>>
>>   
> Check the ownership on /dev/dsp, and if appropriate make sure your user
> is in the right group to have write access to it.
>
>> How could I solve this problem? Can't festival 2.1 use pulseAudio & ALSA
>> as its audio output device?
>>   
> Try using 'padsp festival' instead of just 'festival' when running it,
> because you may need to use that wrapper for /dev/dsp to exist in that
> context.
> /
> Also, see if you have got the package for the alsa pulseaudio plugin
> installed. It possibly comes in the 'pulseaudio-alsa' package. I use
> Fedora, rather than Ubuntu so I can't be certain.
>
> Hope that helps. Good luck. Trying to get festival working when your
> distribution doesn't natively use the right sound server is a major pain
> in the behind. I've got page after page of notes on it having had to
> find out the hard way :-/
> /
> I guess if there were enough interest I could clean the notes up into a
> HOWTO to save other people this kind of pain?
>
> K.
>

_______________________________________________
Festlang-talk mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/festlang-talk

Reply via email to