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

Re: Comparing the responsiveness of espeak and Outloud



Further to the below, I've now got voxin working with speakup via the speakup connector. Stopping speech with it is far more responsive than with emacspeak.

I've had a look at the code for both the emacspeak server and the speakup connector. The main difference seems to be that the connector uses the snd_pcm_avail_update method to determine how many frames to write. It then doesn't do any checking for underruns.

I don't really understand all the details of what's happening but is it possible that this explains the difference in performance? If so is there a reason why the emacspeak server doesn't use the snd_pcm_avail_update method?

Alastair

On 20/02/2012 18:35, Alastair Irving wrote:
Hi

I'm running Arch Linux inside a virtual machine.  I have emacspeak 34.0
with both the espeak and Outloud servers compiled and working.  Both
servers work well, the only problem is that the outloud server seems to
be less responsive than espeak, especially when trying to stop speech.
It's often the case that when stopping outloud an extra couple of
sylabuls will be spoken.  I know this doesn't sound like much but if you
cursor through lines very quickly it can get to be a long way behind.

I did some experimenting by running the outloud server directly,
queueing some speech with the q command, speaking it with d and stopping
it with s.  as above there was a very obvious delay in stopping, where
as with espeak there is not.  Whilst doing this I realised that every
time I got it to speak something the server printed numerous messages of
the form
Underrun!!! (at least ... ms too long)
(for varying values of ...).

Presumably this shouldn't happen.

I would really appreciate it if someone who understands the workings of
the server could please tell me if the slow stopping and the underrun
issues are the same problem or different and if there is anything I can
do about the slow stopping problem.

Many thanks

Alastair

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".


-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog