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

Re: Problems with outloud driver

Tyler Spivey writes ("Problems with outloud driver"):
> 2. If I compile atcleci.so, (alsa), the speech is unusable. I can't really describe what it sounds like,
> but I think there are some buffering issues. running the outloud server generates piles of errors, which I will include:
> allocating 64 samples
> output buffered to waveBuffer with size 64

This is way to small a buffer.

>   period_size  : 32

You must somehow increase the period size or at least the buffer the
outloud server uses which I think defaults to the period size. The
outloud server is tuned for a period size of around 256 sampels. If
you use a different period size, you will have to make chages in
several places. The simplest thing is probably to use a .asoundrc file
to force a period size around the expected size. An alternative is to
hard code the chunk size in the atcleci.cpp file. Note that the period
size is in samples and the buffer size is in bytes. For mono, the
buffer size is twice the period size, because each sample takes 2bytes

Best regards, Lukas

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

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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive