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

Re: espeak voicing and compile issue (patch)

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

> I did notice that.  I was looking at some elisp and it was calling the
> parens brackets if it was reading the line but it called them
> parenthesis if moving character-by-character.  I do, however, like the
> echo applied when it reads the character.  

Maybe the echo needs to be a personal preference setting in ESpeak.  For
me, at least, it breaks the flow of the speech.
The idea is that it helps differentiate between a punctuation mark and
a word that names a punctuation mark.  You can usually tell which is which
from context.  Plus, most people don't use words like semicolon or question
mark very regularly.

> As far as the "stutter" when it reads a word after it is typed, is this
> something in the server (tcl part) or is it something in espeak itself?  

I'm reasonably certain that it's in the TTS server.

PS.  You asked some makefile-related questions in a previous message.
I'm attaching the makefile I use when building the ESpeak server.  It works
on Grml, which is based on Debian testing.
Anyway, I had to add an extra directory to the include-path.  My tcl library
is libtcl8.4.so, rather than libtcl.so.  Finally, TCL's header files use
the long long datatype, and g++ considers this an error (because it deviates
from ISO C++ 98).  Hence, -Wno-long-long is added to CFLAGS.

-- Chris

#$Id: Makefile 3963 2006-05-31 15:42:51Z raman $
# Jan 2007 Gilles Casse gcasse@oralux.org>
# * eSpeak driver for emacspeak

INSTALL = install
libparentdir = ${PREFIX}/share/emacs/site-lisp
libdir2 =$(libparentdir)/emacspeak/servers/linux-espeak
CFLAGS= -O2 -I/usr/include/tcl8.4 -I/usr/include/espeak -fPIC  -DPIC -pedantic  -ansi -Wall -Wno-long-long
LIBS= -ltcl8.4 -lespeak

all: libtclespeak.so

tclespeak.lo: tclespeak.cpp
	libtool --mode=compile $(CC) $(CFLAGS) -c $<

libtclespeak.so: tclespeak.lo 
	libtool --mode=link $(CC) $(CFLAGS) -g -o $@ tclespeak.lo $(LIBS)  -shared

	rm -f *.so *.o *.lo libtclespeak.so
	rm -rf .libs

install:  tclespeak.so
	if test ! -d $(libdir2) ; then mkdir $(libdir2); fi ; \
	chmod 755 $(libdir2); \
	$(INSTALL) -m 0644 $(TTS) $(libdir2)

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