On Sunday 01 October 2006 19:26, Veli-Pekka Tätilä wrote: > And now the espeak specific config file. I got this on the Web and copy > pasted it. The only thing I've changed is the tilde, as speak is in my home > folder. This vtatila is the user I made upon installing Ubuntu and is what > I'm currently using. wonder if speech-dispatcher looks into someone else's > home. Under which user does it actually run speak? Anyway, here's the > config: > > [EMAIL PROTECTED]:/etc/speech-dispatcher/modules$ cat espeak-generic.conf > GenericExecuteSynth \ > "echo \"$DATA\" | ~/speak -v $VOICE -s $RATE -a $VOLUME --stdin"
speech-dispatcher normally runs as user speech-dispatcher, so I doubt it is finding the speak executable. You probably need to change ~ to /home/vtatila. And make sure it has execute privilege for user speech-dispatcher. Or install espeak into the path and remove the "~/". If that doesn't work because of a conflict over the audio device, try this line: GenericExecuteSynth \ "echo \"$DATA\" | /home/vtatila/speak -w /tmp/espeak.wav -v $VOICE -s $RATE -a $VOLUME -p $PITCH --stdin && aplay /tmp/espeak.wav" This creates a temporary wav file and plays it with the alsa aplay utility. -- Gary Cramblitt (aka PhantomsDad) -- Ubuntu-accessibility mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility
