speechd-discuss
[Top][All Lists]
Advanced

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

Making speech-dispatcher python API support asynchronous socket communic


From: Tomas Cerha
Subject: Making speech-dispatcher python API support asynchronous socket communication
Date: Mon, 23 Jun 2008 07:45:59 +0200

Hemant Goyal wrote:
> Hmmm, would this mean that if I got a WORD_SPOKEN event notification
> then the callback to be executed for this event will be executed
> immediately?

Well, technically not really, but practically for the purpose of
updating the user interface it can be considered immediate.

> Could it be possible that such event notifications become queued
> and get executed much after the word has been spoken ? (Developers in
> the OLPC community would be very interested in providing a karaoke style
> hightlight effect during speech synthesis in their gtk activities).

The callbacks are used in Orca for a very similar thing -- the cursor is
moved along the screen according to speech progress.  The movement is,
however, currently only implemented sentence by sentence, so I can't say
if it's going to work word by word.  Anyway, I beleive it should.

Best regards, Tomas.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]