Adding pause to Text-to-speech
I am trying to add a 5 sec pause in my text-to-speech. According to your knowledge base it can be done by embedding a string of periods/dots separated by a space (ie. “. . . . . . “) into my xml file. I have tried this as well as the following: commas, commas with space, <break size=”large”/>, <break time=”5000″/> and many others. Is there really a way to create a pause of about 5 or 10 seconds using the tts engine? Can you provide some example code for my jsp/xml file?
Not all TTS engine behave the same way, so the best way to control the pause is actually not using the TTS engine for the pause. If you create/generate the VXML files yourself, you can add an audio file with 5 second silence. Actually, Voicent gateway contains a silence audio file under C:\Program Files\Voicent\Gateway\webapps\ROOT\audio\si_05.wav. This file contains half second silence.