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

Re: espeak question and heads-up

"Robert D. Crawford" <rdc1x@comcast.net> writes:

> I have a question I've not been able to find an answer to.  When reading
> through text, both brackets and parenthesis are spoken as left or right
> bracket.  If moving point over the character, it is spoken left or right
> paren for the parenthesis and left or right bracket for the brackets.

Emacspeak escapes certain special delimiter characters before sending
them to the TTS server.  Look at dtk-fix-brackets from the file
lisp/dtk-speak.el if you're curious.  The opening and closing square
brackets are replaced with "left bracket" and "right bracket".
Unfortunately, these are the names that ESpeak uses for parentheses.  There
is a disagreement about how to pronounce punctuation.

Here are some proposed solutions.  Can you specify custom pronunciations
within ESpeak itself?  If so, then tell it to pronounce ( and ) as "left
paren" and "right paren".  If that can't be done right now, then we
might consider asking the author of ESpeak for such a feature.  A second
possibility is to escape parentheses.  This could be done in one of two
places: dtk-fix-brackets, or the "clean" procedure from servers/espeak.

PS. I can't really test the ESpeak server these days, as I just switched
distributions.  I don't have a usable tclx package.  So I'm back to
using the trusty eflite server.  Thanks very much to Mike Gorse, Lukas
Loehrer, and anyone else who has worked on eflite.

-- Chris

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