SPUG: Festival speech synthesis and perl

David Vergin dvergin at igc.org
Fri Jul 1 23:52:35 PDT 2005


James Moore wrote:
> ...Anyone else using the Festival server from Perl? 
 > If so, what are you doing to talk to the server?

    open( FESTIVAL, '| /usr/bin/festival --tts' )
             or die "\nCan't open pipe to festival: $!\n\n";
    print FESTIVAL $text;
    close FESTIVAL;

HTH
David


More information about the spug-list mailing list