Matthew Carey changed bug 981271
What Removed Added
CC   matthewvcarey@gmail.com

Comment # 9 on bug 981271 from
Leap 42.1 This is why Festival does not work under SuSE.

I installed the festival text to speech application from zypper and tried to
run it and got an error message:

~> festival --tts test.txt
Initialization file /usr/share/festival/lib/init.scm not found

~> rpm -qf `which festival`
festival-2.4-3.3.x86_64
~> rpm -ql festival-2.4-3.3.x86_64 | grep init.scm
/usr/share/festival/init.scm
/usr/share/festival/siteinit.scm

It seems that program is expecting stuff to be in /usr/share/festival/lib/ when
it is all in /usr/share/festival/

After making a lib sub folder of /usr/share/festival/ and then linking all the
files to it I got the thing running though I did have to add the lines

(Parameter.set 'Audio_Required_Format 'aiff)
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "paplay $FILE --client-name=Festival
--stream-name=Speech")

to the bottom of festival.scm.

Note: I later changed the latter to:

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

This was to get running using Alsa rather than PulseAudio as I was trying to
use inside Apache2 (I also added wwwrun to the audio group).


You are receiving this mail because: