Those using kttsd (KDE's Text To Speech Daemon), for example, to let the konversation IRC client speak received messages[1], may want to avoid running the festival server with all its voices twice.
The attached perl program "festival-server" pretends to be "festival --server" and hands all messages over to kttsd (via dcop), which sends them to the already running festival. Usage: $ festival-server m. [1] that's easy: under "Settings->Configure Notifications..." choose "Execute a program" (the gear symbol in the leftmost column) with "/home/foo/bin/konversation-event %e %s" as program, and let that script use dcop to write to kttsd: $ dcop kttsd kspeech sayMessage "hello computer" "" Script on request. :-)
festival-server.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel