Richard Caley > speech_pm_1.0 > Speech::Festival    Annotate
this POD  View/Report Bugs   Speech::Festival - Communicate with
a festival server process.     use Festival;   $festival = new
Festival -host => 'serverhost', -port => 1314;    conn
$festival;   disconnect $festival;    request $festival '(some
scheme)';   request $festival '(some scheme)', \&result_handler,
$args, $for, $handler;    if (result_waiting $festival) { #
process it }   wait_for_result $festival, $timeout;   ($type,
$data) = get_result $festival;   This package provides a simple
interface to an instance of the festival speech synthesis system
running as a server on some machine. If you want a simple
speech-ouput module using this interface see Speech::Synthesis.
Since festival can return an unpredictable number of results
from a single request, and since it is useful to process them as
they arrive, something a little more complex than a simple
remote-procedure-call interface is needed.  There are basicly
three ways to organise your app