[g-a-devel] Re: Seek suggestion on how to use gnome-speech programatically



>>>>> "AP" == Aditya Pandey <aditya kumar pandey gmail com> writes:

    AP> I need to support these features for my application (Actual
    AP> application implemented this feature using Microsoft SAPI, so the
    AP> model was made assuming that):

    AP> 1. Queue the text
    AP> 2. Talk
    AP> 3. Pause/Resume anytime.
    AP> 4. Stop.

    AP> Of these functions, Stop is fairly straightforward. 
    AP> But in gnome-speech, queue and talk are combined into single step
    AP> (which I can handle using queue of my own).

You may want to look at Speech Dispatcher
(http://www.freebsoft.org/speechd).  It combines queueing and talking
into a single step too, but provides much better queueing mechanism than
gnome-speech.  Unless you have very special requirements, I can't see
any reason to separate queueing and talking.

    AP> How to do pause/resume anytime while speech is going on? Any
    AP> ideas/suggestions/advice? Would this involve using callbacks (I think
    AP> they are not available in festival driver, am I correct)?

In Speech Dispatcher, you just use the PAUSE and RESUME commands.
Speech Dispatcher manages the audio output itself when using a civilized
speech synthesizer (e.g. Festival), so this is no problem.

Regards,

Milan Zamazal

-- 
As is typical in civilized (i.e., non-corporate) email discussions, my
remarks *follow* (not precede) their context.
                                   -- Branden Robinson in debian-legal




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]