12.07.2015 Views

Nuance Vocalizer Developer's Guide - Avaya Support

Nuance Vocalizer Developer's Guide - Avaya Support

Nuance Vocalizer Developer's Guide - Avaya Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

You typically also specify:■■The watcher.RestartOnFailure parameter (this tells the Watcher torestart the process if it dies)Parameters to set up program loggingThe following shows a simple startup file that starts a resource manager anda TTS server. Use forward slashes in path specifications (all platforms) anduse a backslash to continue a command line on multiple lines. Make surethere are no spaces before or after “\”.# Start a resource managerresource-manager lm.Addresses=acme\watcher.RestartOnFailure=TRUE\config.LogFileRootDir=d:/logs/rm/rmlogconfig.LogFileMaxNum=20# Start the <strong>Nuance</strong> <strong>Vocalizer</strong> TTS servervocalizer -num_channels 15watcher.RestartOnFailure=TRUE\config.LogFileRootDir=d:/logs/tts/ttslogconfig.LogFileMaxNum=20\rm.Addresses=hostname lm.Addresses=acme:84712 On the watcher-daemon command line, setwatcher.DaemonStartupFilename to the name of your startup file:> watcher-daemon watcher.DaemonStartupFilename=c:\scripts\watcher_startup.txtCommunicating with <strong>Vocalizer</strong> through the WatcherYou can also communicate with <strong>Vocalizer</strong> through a running Watcher process,including:■■■Starting a <strong>Vocalizer</strong> TTS serverQuiescing or killing a <strong>Vocalizer</strong> TTS serverGetting general runtime information on the <strong>Vocalizer</strong> TTS server such as theprocess ID or the time the process was startedTo start a <strong>Vocalizer</strong> TTS server through the Watcher Telnet interface, you couldsend the following command:> startvp vocalizer watcher.RestartOnFailure=TRUE \config.config.LogFileMaxNum=d:/data/logs/ttsThe Watcher lists <strong>Vocalizer</strong> TTS server processes as vocalizer and processparameters.22<strong>Nuance</strong> <strong>Vocalizer</strong> 3.0Developer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!