Thanks Raman, this is most helpful. Kind regards Bart "T. V. Raman" <firstname.lastname@example.org> writes: > HowTo: Log TTS Server Output To Aid In TTS Server Development > > > 1 HowTo: Log TTS Server Output To Aid In TTS Server Development > > > This is mostly of interest to developers of Emacspeak speech servers. This > article outlines how one can log TTS server output to a file. The loggeds > record all commands send by Emacspeak to the TTS server. It is best to > generate the logs in an Emacs session that is separate from the Emacs > session where you are developping your code. This keeps the logs short, and > makes isolating problems much easier. > > > 1.1 How It Works > > > The emacspeak/servers directory now contains log_<tts-name> servers for the > various supported speech servers. When selected, these log-speech servers > produce no speech output; instead, they output the speech server commands > received from Emacspeak to a file in /tmp named tts-log-$$. Once you're > done logging, you can examine this file from the primary Emacs session. > > > 1.2 Typical Workflow > > > Assume you want to see the speech-server commands sent by Emacs when you > perform a specific action, in this instance, pressing Ce m to execute > command emacspeak-speak-mode-line. > > > In a separate Linux console or X-Window, launch Emacs with Emacspeak loaded > -- this is separate from your primary Emacs session. > In this Emacs session, use Ce dd (command dtk-select-server) and select > log-<tts-name> as the speech server, where tts-name corresponds to the > speech engine you're testing. > Emacspeak will now start the logging server, and fall silent; all commands > sent by Emacspeak to the speech-server will be logged to a file in /tmp. > Press Ce m - to produce the log output you want to see. > Use command _emacspeak-emergency-tts-restart to get speech back. > Open a dired buffer on /tmp, press s to sort files by date, and find your > generated log output at the top of the list. > Note: It is useful to configure your default speech engine via Custom - see > user option emacspeak-emergency-tts-server. It provides a quick-fire means > to get speech back if you ever switch to a speech-server that fails for > some reason. > > Share And Enjoy > > > Date: <2015-04-15 Wed> > > Author: raman > > Created: 2015-04-15 Wed 17:33 > > Emacs 126.96.36.199 (Org mode 8.2.10) > > Validate > > > > > -- > Posted By TV Raman to EMACSPEAK The Complete Audio Desktop at 4/15/2015 > 05:37:00 PM Bart -- Bart Bunting ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "email@example.com" with a subject of "unsubscribe" or "help".
If you have questions about this archive or had problems using it, please send mail to:firstname.lastname@example.org No Soliciting!
Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998
Emacspeak Files | Emacspeak Blog | Search the archive