SOURCES: emacspeak-Makefile.patch (NEW), emacspeak-debian.patch (N...

twittner twittner at pld-linux.org
Sun Sep 17 15:27:08 CEST 2006


Author: twittner                     Date: Sun Sep 17 13:27:08 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes for emacspeak:
  emacspeak-Makefile.patch: DESTDIR and other installation fixes
  emacspeak-debian.patch: fixes for info docs, additional docs
  (this patch is part of Debian emacspeak_24-1.diff for emacspeak-24-1
  Debian package))
  emacspeak-emacspeak.conf.patch: simplified - no shell code inside
  emacspeak-emacspeak.sh.patch: make it working
  emacspeak-tclsh.patch: set proper patch to tcl shell

---- Files affected:
SOURCES:
   emacspeak-Makefile.patch (NONE -> 1.1)  (NEW), emacspeak-debian.patch (NONE -> 1.1)  (NEW), emacspeak-emacspeak.conf.patch (NONE -> 1.1)  (NEW), emacspeak-emacspeak.sh.patch (NONE -> 1.1)  (NEW), emacspeak-tclsh.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/emacspeak-Makefile.patch
diff -u /dev/null SOURCES/emacspeak-Makefile.patch:1.1
--- /dev/null	Sun Sep 17 15:27:08 2006
+++ SOURCES/emacspeak-Makefile.patch	Sun Sep 17 15:27:03 2006
@@ -0,0 +1,193 @@
+diff -Nur p0/Makefile p1/Makefile
+--- p0/Makefile	2006-05-03 04:54:05.000000000 +0200
++++ p1/Makefile	2006-09-17 11:10:24.000000000 +0200
+@@ -122,13 +122,15 @@
+ ##### Site  Configuration #####
+ MAKE=make
+ prefix = /usr
++datadir = $(prefix)/share
+ # where executables go
+ bindir = ${prefix}/bin
+ # where info files should go
+-infodir = ${prefix}/share/info
++infodir = $(datadir)/info
++mandir = $(datadir)/man
+ # where the emacspeak library directory should go
+ #for older emacsuns use /usr/lib
+-libparentdir = ${prefix}/share/emacs/site-lisp
++libparentdir = $(datadir)/emacs/site-lisp
+ # where  all emacspeak  files should go
+ libdir =$(libparentdir)/emacspeak
+ #directory where we are building
+@@ -244,53 +246,56 @@
+ 
+ install:
+ 	$(MAKE) config SRC=$(libdir)
+-	  $(INSTALL)  -d $(libparentdir) 
+-	  $(INSTALL) -d $(libdir) 
+-	touch $(libdir)/.nosearch
+-	  $(INSTALL) -d $(libdir)/lisp
+-	$(INSTALL) -d $(libdir)/lisp/xml-forms
+-	$(INSTALL) -d $(libdir)/lisp/atom-blogger
+-	$(INSTALL) -d $(libdir)/etc
+-	$(INSTALL) -d $(libdir)/sawfish
+-	$(INSTALL) -d $(libdir)/xsl
+-	$(INSTALL) -d $(libdir)/user-guide
+-	$(INSTALL) -d $(libdir)/install-guide
+-	  $(INSTALL) -m 0644  lisp/*.el lisp/*.elc  $(libdir)/lisp
+-	$(INSTALL) -m 0644  lisp/xml-forms/*.xml   $(libdir)/lisp/xml-forms
+-	$(INSTALL) -m 0644  lisp/atom-blogger/*.el    $(libdir)/lisp/atom-blogger
+-	$(INSTALL) -m 0644  lisp/atom-blogger/*.xsl    $(libdir)/lisp/atom-blogger
+-	$(INSTALL) -m 0644  sawfish/*.jl sawfish/sawfishrc   $(libdir)/sawfish
+-	$(INSTALL) -m 0644  xsl/*.xsl    $(libdir)/xsl
+-	$(INSTALL) -m 0644  ${UGUIDE}   $(libdir)/user-guide
+-	$(INSTALL) -m 0644  ${IGUIDE}   $(libdir)/install-guide
+-	$(INSTALL) -d $(libdir)/sounds
+-	$(INSTALL) -d $(libdir)/servers
+-	$(INSTALL) -d $(libdir)/servers/linux-outloud
+-	$(INSTALL)  -m 755 ${OUTLOUD}  $(libdir)/servers/linux-outloud
+-	$(INSTALL) -d $(libdir)/servers/software-dtk
+-	$(INSTALL)  -m 755 ${DTKTTS}  $(libdir)/servers/software-dtk
+-	$(INSTALL)  -m 755 ${TCL_PROGRAMS}  $(libdir)/servers
+-	$(INSTALL) -m 0644   ${NEWS}   $(libdir)/etc
+-	cp   ${MISC}   $(libdir)/etc
+-	$(CP) -r $(SOUNDS) $(libdir)/sounds
+-	chmod -R go+rX  $(libdir)/sounds
+-	$(CP) -r $(REALAUDIO) $(libdir)
+-	chmod -R go+rX  $(libdir)/realaudio
+-	$(CP) -r $(SHOUTCAST) $(libdir)
+-	chmod -R go+rX  $(libdir)/shoutcast
+-	$(INSTALL) -d $(libdir)/etc/forms
+-	$(INSTALL)  -m 0644 $(FORMS) $(libdir)/etc/forms
+-	$(INSTALL) -d $(libdir)/etc/tables
+-	$(INSTALL)  -m 0644 $(TABLE_SAMPLES) $(libdir)/etc/tables
+-	$(INSTALL) -d $(bindir)
+-	$(INSTALL) -m 0755  etc/emacspeak.sh $(bindir)/emacspeak
+-	$(INSTALL) -d $(infodir)
+-	cd info; \
+-	$(MAKE) install infodir=$(infodir)
++	$(INSTALL)  -d $(DESTDIR)$(libparentdir) 
++	$(INSTALL) -d $(DESTDIR)$(libdir) 
++	touch $(DESTDIR)$(libdir)/.nosearch
++	$(INSTALL) -d $(DESTDIR)$(libdir)/lisp
++	$(INSTALL) -d $(DESTDIR)$(libdir)/lisp/xml-forms
++	$(INSTALL) -d $(DESTDIR)$(libdir)/lisp/atom-blogger
++	$(INSTALL) -d $(DESTDIR)$(libdir)/etc
++	$(INSTALL) -d $(DESTDIR)$(libdir)/sawfish
++	$(INSTALL) -d $(DESTDIR)$(libdir)/xsl
++	$(INSTALL) -d $(DESTDIR)$(libdir)/user-guide
++	$(INSTALL) -d $(DESTDIR)$(libdir)/install-guide
++	$(INSTALL) -d $(DESTDIR)$(libdir)/blurbs
++	$(INSTALL) -d $(DESTDIR)$(infodir)
++	$(INSTALL) -d $(DESTDIR)$(mandir)/man1
++	$(INSTALL) -m 0644  lisp/*.el lisp/*.elc  $(DESTDIR)$(libdir)/lisp
++	$(INSTALL) -m 0644  lisp/xml-forms/*.xml   $(DESTDIR)$(libdir)/lisp/xml-forms
++	$(INSTALL) -m 0644  lisp/atom-blogger/*.el    $(DESTDIR)$(libdir)/lisp/atom-blogger
++	$(INSTALL) -m 0644  lisp/atom-blogger/*.xsl    $(DESTDIR)$(libdir)/lisp/atom-blogger
++	$(INSTALL) -m 0644  sawfish/*.jl sawfish/sawfishrc   $(DESTDIR)$(libdir)/sawfish
++	$(INSTALL) -m 0644  xsl/*.xsl    $(DESTDIR)$(libdir)/xsl
++	$(INSTALL) -m 0644  ${UGUIDE}   $(DESTDIR)$(libdir)/user-guide
++	$(INSTALL) -m 0644  ${IGUIDE}   $(DESTDIR)$(libdir)/install-guide
++	$(INSTALL) -m 0644  debian/*.blurb   $(DESTDIR)$(libdir)/blurbs
++	$(INSTALL) -d $(DESTDIR)$(libdir)/sounds
++	$(INSTALL) -d $(DESTDIR)$(libdir)/servers
++	$(INSTALL) -d $(DESTDIR)$(libdir)/servers/linux-outloud
++	$(INSTALL)  -m 755 ${OUTLOUD}  $(DESTDIR)$(libdir)/servers/linux-outloud
++	$(INSTALL) -d $(DESTDIR)$(libdir)/servers/software-dtk
++	$(INSTALL)  -m 755 ${DTKTTS}  $(DESTDIR)$(libdir)/servers/software-dtk
++	$(INSTALL)  -m 755 ${TCL_PROGRAMS}  $(DESTDIR)$(libdir)/servers
++	$(INSTALL) -m 0644   ${NEWS}   $(DESTDIR)$(libdir)/etc
++	cp   ${MISC}   $(DESTDIR)$(libdir)/etc
++	$(CP) -r $(SOUNDS) $(DESTDIR)$(libdir)/sounds
++	chmod -R go+rX  $(DESTDIR)$(libdir)/sounds
++	$(CP) -r $(REALAUDIO) $(DESTDIR)$(libdir)
++	chmod -R go+rX  $(DESTDIR)$(libdir)/realaudio
++	$(CP) -r $(SHOUTCAST) $(DESTDIR)$(libdir)
++	chmod -R go+rX  $(DESTDIR)$(libdir)/shoutcast
++	$(INSTALL) -d $(DESTDIR)$(libdir)/etc/forms
++	$(INSTALL)  -m 0644 $(FORMS) $(DESTDIR)$(libdir)/etc/forms
++	$(INSTALL) -d $(DESTDIR)$(libdir)/etc/tables
++	$(INSTALL)  -m 0644 $(TABLE_SAMPLES) $(DESTDIR)$(libdir)/etc/tables
++	$(INSTALL) -d $(DESTDIR)$(bindir)
++	$(INSTALL) -m 0755  etc/emacspeak.sh $(DESTDIR)$(bindir)/emacspeak
++	$(INSTALL) -m644 debian/*.1 $(DESTDIR)$(mandir)/man1
++	$(MAKE) -C info install infodir=$(DESTDIR)$(infodir)
+ 
+ uninstall:
+-	rm -rf $(infodir)/emacspeak.info* $(bindir)/emacspeak
+-	  rm -rf $(libdir)
++	rm -rf $(DESTDIR)$(infodir)/emacspeak.info* $(DESTDIR)$(bindir)/emacspeak
++	  rm -rf $(DESTDIR)$(libdir)
+ 
+ 
+ # }}}
+diff -Nur p0/info/Makefile p1/info/Makefile
+--- p0/info/Makefile	2006-05-03 04:54:04.000000000 +0200
++++ p1/info/Makefile	2006-09-17 11:10:24.000000000 +0200
+@@ -3,11 +3,11 @@
+ HTML_FILES=$(shell find . -name '*.html' -print)
+ TEXINDEX=texindex
+ FILES=*.texi
+-MAKEINFO = makeinfo 
++MAKEINFO = makeinfo --no-split --fill-column=70
+ TEX=tex
+ PDFTEX=pdftex
+ TEXI2HTML=texi2html
+-infodir =/usr/share/info#normally supplied by caller
++INFODIR = /usr/share/info
+ INSTALL = install
+ EMACS=emacs
+ 
+@@ -27,16 +27,17 @@
+ 	$(EMACS) -batch -q -l ../utils/document-commands.el
+ 
+ install: emacspeak.info
+-	if test  -x /sbin/install-info ; then \
+-		install-info emacspeak.info /etc/info-dir; \
+-	fi
+-	$(INSTALL)  -m 644 *.info* $(infodir)
++	$(INSTALL) -d $(DESTDIR)$(INFODIR)
++	#/usr/sbin/install-info emacspeak.info $(DESTDIR)$(INFODIR)
++	#/usr/sbin/install-info emacspeak.info /mnt/hda5/tmp/emacspeak-24-root-inter/usr/share/info
++	#install-info: /mnt/hda5/tmp/emacspeak-24-root-inter/usr/share/info: empty file -- wtf?
++	install emacspeak.info* $(DESTDIR)$(INFODIR)
++	$(INSTALL)  -m 644 emacspeak.info* $(DESTDIR)$(INFODIR)
+ 
+ uninstall:
+-	if test  -e /sbin/install-info ; then \
+-		install-info --delete $(infodir)/*.info /etc/info-dir; \
+-	fi
+-	rm -f $(infodir)/*.info*
++	/usr/sbin/install-info --delete $(DESTDIR)$(INFODIR)/emacspeak.info* $(DESTDIR)$(INFODIR)
++	rm -f $(DESTDIR)$(INFODIR)/emacspeak.info*
++
+ emacspeak.info: emacspeak.texi 
+ 
+ introducing-emacspeak.info: introducing-emacspeak.texi
+diff -Nur p0/servers/linux-outloud/Makefile p1/servers/linux-outloud/Makefile
+--- p0/servers/linux-outloud/Makefile	2006-05-03 04:54:04.000000000 +0200
++++ p1/servers/linux-outloud/Makefile	2006-09-17 11:10:24.000000000 +0200
+@@ -30,6 +30,6 @@
+ 	rm -f tcleci.so tcleci.o tcleci.lo
+ 
+ install: tcleci.so
+-	if test ! -d $(libdir) ; then mkdir $(libdir); fi ; \
+-	chmod 755 $(libdir); \
+-	$(INSTALL) -m 0644 $(TTS) $(ATTS) $(libdir)
++	if test ! -d $(DESTDIR)$(libdir) ; then mkdir $(DESTDIR)$(libdir); fi ; \
++	chmod 755 $(DESTDIR)$(libdir); \
++	$(INSTALL) -m 0644 $(TTS) $(ATTS) $(DESTDIR)$(libdir)
+diff -Nur p0/servers/software-dtk/Makefile p1/servers/software-dtk/Makefile
+--- p0/servers/software-dtk/Makefile	2006-05-03 04:54:04.000000000 +0200
++++ p1/servers/software-dtk/Makefile	2006-09-17 11:10:24.000000000 +0200
+@@ -30,8 +30,8 @@
+ 	rm tcldtk.so tcldtk.o
+ 
+ install:
+-	$(INSTALL) -d $(SERVER_DIR)
+-	cp  $(FILES) $(SERVER_DIR)
++	$(INSTALL) -d $(DESTDIR)$(SERVER_DIR)
++	cp  $(FILES) $(DESTDIR)$(SERVER_DIR)
+ 
+ rpm: software-dtk.spec software-dtk.tar.gz
+ 	@cp software-dtk.tar.gz /usr/src/redhat/SOURCES/

================================================================
Index: SOURCES/emacspeak-debian.patch
diff -u /dev/null SOURCES/emacspeak-debian.patch:1.1
--- /dev/null	Sun Sep 17 15:27:08 2006
+++ SOURCES/emacspeak-debian.patch	Sun Sep 17 15:27:03 2006
@@ -0,0 +1,5152 @@
+--- emacspeak-24.orig/info/tts-server.texi
++++ emacspeak-24/info/tts-server.texi
+@@ -1,209 +1,209 @@
+-        @c $Id$
+-        @node TTS Servers
+-        @chapter Emacspeak TTS Servers
+-
+-        Emacspeak produces spoken output by communicating with one of many
+-        speech servers. This section documents the communication protocol
+-        between the client application i.e. Emacspeak, and the TTS
+-        server. This section is primarily intended for developers wishing to:
+-        @itemize @bullet
+-        @item Create new speech servers that comply with this communication
+-        protocol 
+-        @item Developers of other client applications   who wish to use
+-        the various Emacspeak speech servers.
+-        @end itemize
+-
+-        @subsection High-level Overview
+-
+-        The TTS server reads commands from standard input, and  script
+-        @emph{speech-server} can be used  to cause a TTS server to communicate
+-        via a TCP socket. Speech server commands are used by the client
+-        application to make specific requests of the server; the server
+-        listens for these requests in a non-blocking read loop and executes
+-        requests as they become available. Requests can be classified
+-        as follows:
+-        @itemize @bullet
+-        @item Commands that send text to be spoken.
+-        @item Commands that set @emph{state} of the TTS server.
+-        @end itemize
+-
+-        All commands are of the form 
+-        @example
+-        commandWord @{arguments@}
+-        @end example
+-        The braces are optional if the command argument contains no white
+-        space.  The speech server maintains a @emph{current state} that
+-        determines various characteristics of spoken output such as speech
+-        rate, punctuations mode etc. (see set of commands that manipulate
+-        speech state for complete list).  The client application @emph{queues} The
+-        text and non-speech audio output to be produced before asking the
+-        server to @emph{dispatch} the set of queued requests, i.e. start
+-        producing output.
+-
+-        Once the server has been asked to produce output, it removes items
+-        from the front of the queue, sends the requisite commands to the
+-        underlying TTS engine, and waits for the engine to acknowledge that
+-        the request has been completely processed. This is a non-blocking
+-        operation, i.e., if the client application generates additional
+-        requests, these are processed @emph{immediately}.
+-
+-        The above design allows the Emacspeak TTS server to be
+-        @emph{highly} responsive; Cleint applications can queue large
+-        amounts of text (typically queued a clause at a time to
+-        achieve the best prosody), ask the TTS server to start speaking,
+-        and interrupt the spoken output at any time.
+-
+-        @subsection Commands That Queue Output.
+-
+-        This section documents commands that either produce spoken
+-        output, or queue output to be produced on demand.
+-        Commands that place the request on the queue are clearly marked.
+-
+-        @example
+-        version
+-        @end example
+-
+-        Speaks the @emph{version} of the TTS engine. Produces output
+-        immediately.
+-
+-        @example
+-        tts_say text 
+-        @end example
+-
+-        Speaks the specified @emph{text} immediately. The text is not
+-        pre-processed in any way, contrast this with the primary way of
+-        speaking text which is to queue text before asking the server to
+-        process the queue.
+-
+-        @example
+-        l c
+-        @end example
+-
+-        Speak @emph{c} a single character, as a letter.  The character is
+-        spoken immediately. This command uses the TTS engine's capability to
+-        speak a single character with the ability to flush speech
+-        @emph{immediately}.  Client applications wishing to produce
+-        character-at-a-time output, e.g., when providing character echo during
+-        keyboard input should use this command.
+-
+-        @example
+-        d
+-        @end example
+-
+-        This command is used to @emph{dispatch} all queued requests.
+-        It was renamed to a single character command (like many of the
+-        commonly used TTS server commands) to work more effectively over
+-        slow (9600) dialup lines.
+-        The effect of calling this command is for the TTS server to start
+-        processing items that have been queued via earlier requests.
+-
+-        @example
+-        tts_pause
+-        @end example
+-
+-        This pauses speech @emph{immediately}.
+-        It does not affect queued requests; when command
+-        @emph{tts_resume} is called, the output resumes at the point
+-        where it was paused. Not all TTS engines provide this capability.
+-
+-        @example
+-        tts_resume
+-        @end example
+-
+-        Resume spoken output if it has been paused earlier.
+-
+-        @example
+-        s
+-        @end example
+-
+-        Stop speech @emph{immediately}.
+-        Spoken output is interrupted, and all pending requests are
+-        flushed from the queue.
+-
+-        @example
+-        q text
+-        @end example
+-
+-        Queues text to be spoken. No spoken output is produced until a
+-        @emph{dispatch} request is received via execution of command
+-        @emph{d}.
+-
+-        @example
+-        a filename
+-        @end example
+-
+-        Cues the audio file identified by filename for playing.
+-
+-        @example
+-        t freq length
+-        @end example
+-
+-        Queues a tone to be played at the specified frequency and having the
+-        specified length.  Frequency is specified in hertz and length is
+-        specified in milliseconds.
+-
+-        @example
+-        sh duration
+-        @end example
+-
+-        Queues the specified duration of silence. Silence is specified in
+-        milliseconds.
+-
+-        @subsection Commands That Set State
+-
+-        @example
+-        tts_reset
+-        @end example
+-
+-        Reset TTS engine to  default settings.
+-
+-        @example
+-        tts_set_punctuations mode
+-        @end example
+-
+-        Sets TTS engine to the specified punctuation mode. Typicaly, TTS
+-        servers provide at least three modes:
+-        @itemize @bullet
+-        @item None: Do not speak punctuation characters.
+-        @item some: Speak some punctuation characters. Used for English
+-        prose.
+-        @item all: Speak out @emph{all} punctuation characters; useful in
+-        programming modes.
+-        @end itemize
+-
+-        @example
+-        tts_set_speech_rate rate
+-        @end example
+-
+-        Sets speech rate. The interpretation of this value is typically
+-        engine specific.
+-
+-        @example
+-        tts_set_character_scale factor
+-        @end example
+-
+-        Scale factor applied to speech rate when speaking individual
+-        characters.Thus, setting speech rate to 500 and character
+-        scale to 1.2 will cause command @emph{l} to use a speech rate
+-        of @emph{500 * 1.2 = 600}.
+-
+-        @example    
+-        tts_split_caps flag
+-        @end example
+-
+-        Set state of @emph{split caps} processing. Turn this on to
+-        speak mixed-case (AKA Camel Case) identifiers.
+-
+-        @example
+-        tts_capitalize flag
+-        @end example
+-
+-        Indicate capitalization via a beep tone or voice  pitch.
+-
+-        @example
+-        tts_allcaps_beep flag
+-        @end example
++ at c $Id$
++ at node TTS Servers
++ at chapter Emacspeak TTS Servers
++
++Emacspeak produces spoken output by communicating with one of many
++speech servers. This section documents the communication protocol
++between the client application i.e. Emacspeak, and the TTS
++server. This section is primarily intended for developers wishing to:
++ at itemize @bullet
++ at item Create new speech servers that comply with this communication
++protocol 
++ at item Developers of other client applications   who wish to use
++the various Emacspeak speech servers.
++ at end itemize
++
++ at subsection High-level Overview
++
++The TTS server reads commands from standard input, and  script
++ at emph{speech-server} can be used  to cause a TTS server to communicate
++via a TCP socket. Speech server commands are used by the client
++application to make specific requests of the server; the server
++listens for these requests in a non-blocking read loop and executes
++requests as they become available. Requests can be classified
++as follows:
++ at itemize @bullet
++ at item Commands that send text to be spoken.
++ at item Commands that set @emph{state} of the TTS server.
++ at end itemize
++
++All commands are of the form 
++ at example
++commandWord @{arguments@}
++ at end example
++The braces are optional if the command argument contains no white
++space.  The speech server maintains a @emph{current state} that
++determines various characteristics of spoken output such as speech
++rate, punctuations mode etc. (see set of commands that manipulate
++speech state for complete list).  The client application @emph{queues} The
++text and non-speech audio output to be produced before asking the
++server to @emph{dispatch} the set of queued requests, i.e. start
++producing output.
++
++Once the server has been asked to produce output, it removes items
++from the front of the queue, sends the requisite commands to the
++underlying TTS engine, and waits for the engine to acknowledge that
++the request has been completely processed. This is a non-blocking
++operation, i.e., if the client application generates additional
++requests, these are processed @emph{immediately}.
++
++The above design allows the Emacspeak TTS server to be
++ at emph{highly} responsive; Cleint applications can queue large
++amounts of text (typically queued a clause at a time to
++achieve the best prosody), ask the TTS server to start speaking,
++and interrupt the spoken output at any time.
++
++ at subsection Commands That Queue Output.
++
++This section documents commands that either produce spoken
++output, or queue output to be produced on demand.
++Commands that place the request on the queue are clearly marked.
++
++ at example
++version
++ at end example
++
++Speaks the @emph{version} of the TTS engine. Produces output
++immediately.
++
++ at example
++tts_say text 
++ at end example
++
++Speaks the specified @emph{text} immediately. The text is not
++pre-processed in any way, contrast this with the primary way of
++speaking text which is to queue text before asking the server to
++process the queue.
++
++ at example
++l c
++ at end example
++
++Speak @emph{c} a single character, as a letter.  The character is
++spoken immediately. This command uses the TTS engine's capability to
++speak a single character with the ability to flush speech
++ at emph{immediately}.  Client applications wishing to produce
++character-at-a-time output, e.g., when providing character echo during
++keyboard input should use this command.
++
++ at example
++d
++ at end example
++
++This command is used to @emph{dispatch} all queued requests.
++It was renamed to a single character command (like many of the
++commonly used TTS server commands) to work more effectively over
++slow (9600) dialup lines.
++The effect of calling this command is for the TTS server to start
++processing items that have been queued via earlier requests.
++
++ at example
++tts_pause
++ at end example
++
++This pauses speech @emph{immediately}.
++It does not affect queued requests; when command
++ at emph{tts_resume} is called, the output resumes at the point
++where it was paused. Not all TTS engines provide this capability.
++
++ at example
++tts_resume
++ at end example
++
++Resume spoken output if it has been paused earlier.
++
++ at example
++s
++ at end example
++
++Stop speech @emph{immediately}.
++Spoken output is interrupted, and all pending requests are
++flushed from the queue.
++
++ at example
++q text
++ at end example
++
++Queues text to be spoken. No spoken output is produced until a
++ at emph{dispatch} request is received via execution of command
++ at emph{d}.
++
++ at example
++a filename
++ at end example
++
++Cues the audio file identified by filename for playing.
++
++ at example
++t freq length
++ at end example
++
++Queues a tone to be played at the specified frequency and having the
++specified length.  Frequency is specified in hertz and length is
++specified in milliseconds.
++
++ at example
++sh duration
++ at end example
++
++Queues the specified duration of silence. Silence is specified in
++milliseconds.
++
++ at subsection Commands That Set State
++
++ at example
++tts_reset
++ at end example
++
++Reset TTS engine to  default settings.
++
++ at example
++tts_set_punctuations mode
++ at end example
++
++Sets TTS engine to the specified punctuation mode. Typicaly, TTS
++servers provide at least three modes:
++ at itemize @bullet
++ at item None: Do not speak punctuation characters.
++ at item some: Speak some punctuation characters. Used for English
++prose.
++ at item all: Speak out @emph{all} punctuation characters; useful in
++programming modes.
++ at end itemize
++
++ at example
++tts_set_speech_rate rate
++ at end example
++
++Sets speech rate. The interpretation of this value is typically
++engine specific.
++
++ at example
++tts_set_character_scale factor
++ at end example
++
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list