How to get Festival text to speech working?

Mark Knoop mark at opus11.net
Wed Jul 18 12:38:40 UTC 2007


Joe Desbonnet wrote:
> I'm trying to evaluate Festival text-to-speech on Fedora 7, but I get
> this error:
> 
> festival --tts < test.txt
> Linux: can't open /dev/dsp
> 
> Seems many people have this problem, but I can't see any fixes. As always
> System -> Help is useless.
> 
> Obviously if it was shipped it must work somehow. Any suggestions?

You need to use Alsa output. Put this in your ~/.festivalrc

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

-- 
Mark Knoop




More information about the fedora-list mailing list