Linux SoftwareProgrammingLibrariesFestival::Client::Async 0.0303

Festival::Client::Async 0.0303


Festival::Client::Async is a non-blocking interface to a Festival server. SYNOPSIS use Festival::Client::Async qw(parse_lisp)
Developer:   David Huggins-Daines
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   29K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Festival::Client::Async is a non-blocking interface to a Festival server.

SYNOPSIS

use Festival::Client::Async qw(parse_lisp);

my $fest = Festival::Client::Async->new($host, $port);
$fest->server_eval_sync($lisp, %actions); # blocking
$fest->server_eval($lisp); # just queues $lisp for writing
if ($fest->write_pending) {
while (defined(my $b = $fest->write_more)) {
last if $b == 0;
}
}
while (defined(my $b = $fest->read_more)) {
last if $b == 0;
}
if ($fest->error_pending) {
# Oops
}
while ($fest->wave_pending) {
my $waveform_data = $fest->dequeue_wave;

# Do something with it
}
while ($fest->lisp_pending) {
my $lisp = $fest->dequeue_lisp
my $arr = parse_lisp($lisp);

# Do something with it
}

This module provides Yet Another interface to a Festival speech synthesis server.
Why should you use this module instead of the already existing ones?
Non-blocking operation. This means that this module can interoperate with a Tk, Gtk, Event, or POE event loop without the need to fork a separate process.

More flexible interface for blocking operation. You can register separate callbacks to handle the results of Scheme evaluation, waveform data, and OK/error messages.
This module is simply a very thin wrapper around Festival's Scheme read-evaluate-print loop.

If you don't know what that is, you may not want this module. If you do know what that is, this will allow you to use this module to do basically anything you could do at the actual Festival interpreter prompt. You are not limited to doing simple text-to-speech to the local audio device.

Requirements:
  • Perl
    tags this module  festival client  client async  something with  use this  blocking operation  what that  know what  fest dequeue  while fest  parse lisp  non blocking  fest server  

    Download Festival::Client::Async 0.0303


     http://mirrors.evolva.ro/CPAN/authors/id/D/DJ/DJHD/Festival-Client-Async-0.0303.tar.gz


    Authors software

    Similar software

    Festival::Client::Async 0.0303 (by David Huggins-Daines)
    Festival::Client::Async is a non-blocking interface to a Festival server.

    SYNOPSIS

    use Festival::Client::Async qw(parse_lisp)

    EFlite 0.3.9 (by Michael P. Gorse)
    EFlite is a speech server for Emacspeak and other screen readers that allows them to interface with Festival Lite

    Blind MP3 Player 0.2.2 (by Peter Willis)
    Blind MP3 plays audio files using an AUI (Audible User Interface)

    Speech Dispatcher 0.6 (by Brailcom o.p.s.)
    Speech Dispatcher's project goal is to provide a device independent layer for speech synthesis through a simple, stable and well docu

    Pyplet 1.30 (by Jerome Alet)
    PyPlet is a very simple IRC bot who speaks ! You can use PyPlet in learning environments, to help visually impaired people, or just f

    ZoIP 0.2.0 (by Simon P. Ditner)

    Fala 0.1 (by Jonh Wendell)
    Fala is a simple text reader.

    A simple software that speaks a text

    Emacs Common Lisp 20061030 (by Lars Brinkhoff)
    Emacs Common Lisp is an implementation of Common Lisp, written in Emacs Lisp

    Festvox 2.0 (by Alan W Black)
    The Festvox project aims to make the building of new synthetic voices more systemic and better documented, making it possible for any

    KTTS - KDE Text-to-Speech System 0.3.0 (by KTTS Team)
    KTTS KDE Text to Speech SystemKTTS - KDE Text-to-Speech is a subsystem within the KDE desktop f


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags