# speech-to-memory mode

In speech-to-memory mode DECtalk Software writes speech samples into memory buffers instead of sending them to an audio device. The TextToSpeechAddBuffer function supplies the text-to-speech system with the memory buffers that it needs. The TextToSpeechOpenInMemory function enters the text-to-speech system into a speech-to-memory mode. The TextToSpeechCloseInMemory function returns the text-to-speech system to the startup state.