Well I've had no problems with festival on my netbook, but when I tried to used it on my desktop I got the error "Linux: can't open /dev/dsp". It seems this is due to the fact that festival uses outdated OSS emulation, to fix this problem just issue the following command;
printf ";use ALSA\n(Parameter.set 'Audio_Method 'Audio_Command)\n(Parameter.set 'Audio_Command \"aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\")\n" > .festivalrc
Now you can test to check whether it's working or not.
echo "Resist Monsanto" | festival --tts
No comments:
Post a Comment