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

Development of a server for emacspeak for brazilian portuguese

Hi Marcelo,

I think the first thing you need to do is actually install and setup
emacspeak with one of the currently supported TTS engines. You will
thyen be able to answer most of the questions you have asked. 

In brief, emacsp[eak is implemented using emacs lisp
(elisp). Emacspeak makes extensive use of "advice' to add speech
support to many emacs functions. Check out the emacs lisp manual on
advising functions for more info. 

The emacs lisp code communicates with TTS engines via TCL scripts and
takes advantage of a TCL facility which allows it to read input from
standard input and interpret it as TCL commands. The elisp passes
strings to the TCL script with embedded commands which the TCL script
interprets e.g. say text, play a tone, pause, stop, reset etc. The TCL
script then does whatever is required to pass the text to the TTS or
send TTS specific commands to the TTS. 

To support a new TTS, you need to (rough outline)

	- Define a TTS specific voices.el file similar to
      dectalk-voices.el or outloud-voices.el

	- Create a TTS specific TCL script, possibly with a TCL shared
      library which implements TCL commands required to communicate
      with the TTS engine in C or C++. 

	- Possibly make some minor changes to dtk-voices.el to add support
      for the *-voices.el file and TTS specific TCL script. 

The only real documentation for all of this is comments etc inside the
elisp sources and tcl scripts. Its actually simpler than it seems once
you get your head wrapped around it all.

Good luck


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"