# Special Text-To-Speech Modes

Call | Purpose
TextToSpeechSetSpeaker() | Selects one of nine speaking voices.
TextToSpeechCloseWaveOutFile() | Closes the specified wave file and returns the text-to-speech system to its startup state.
TextToSpeechOpenLogFile() | Opens a log file. TextToSpeechSpeak() writes text, phonemes, or syllables to this file.
TextToSpeechCloseLogFile() | Closes the specified log file and returns the text-to-speech system to its startup state.
TextToSpeechOpenInMemory() | Produces buffered speech samples in wave format whenever TextToSpeechSpeak is called. Calling application is notified when memory buffer is filled.
TextToSpeechCloseInMemory() | Returns the text-to-speech system to its startup state.
TextToSpeechAddBuffer() | Adds a shared-memory buffer allocated by the calling application to the memory buffer list.
TextToSpeechReturnBuffer() | Returns the current shared-memory buffer.