[general] ; voice ; default: Allison-8kHz ; ; Set the voice you want swift to use; If the voice you specify is not found, ; swift should automatically use the default voice it is configured with. ; Selecting an 8kHz voice should mean less transcoding/CPU usage. ; voice=Allison-8kHz ;voice=Allison ; use_16khz ; default: no ; ; 16khz support is only for Asterisk 1.6 and only helps wideband codecs. ; Only 16kHz/22kHz voices will sound better (8kHz voices still work). ; use_16khz=no ; buffer_size ; default: 64000 ; range: 16000-1024000 (8kHz) ; range: 32000-1024000 (16kHz) ; ; Number of bytes of audio data to buffer from the Swift libraries. ; app_swift will allocate this much buffer space for each concurrent running ; swift app call. ; ; A larger buffer allows the swift lib to generate audio and complete sonner, ; reducing the amount of time we keep the swift port open (consuming a swift ; concurrency license). ; You should tune this based on the lenth of things you're having swift speak, ; how much memory you can afford to burn (more is better). ; buffer_size=64000 [cache] ; directory ; default: /tmp ; ; Directory where cached audio files should be stored. ; If directory does not exist then /tmp is used ; directory=/var/spool/asterisk/swiftcache ; general_infofile ; default: speech.txt ; ; This file in the cache directory will be appended with the text of ; the spoken phrase when recorded. This file will keep growing. ; Can be set to empty (NULL) to disable writing. ; general_infofile=speech.txt ; individual_infofile ; default: yes ; ; If set a text file (with the same MD5 hash) will be written to the ; cache directory with the phrase recorded in the audio file. ; individual_infofile=yes ; force_rebuild ; default: no ; ; If set this will always write a new audio file to the cache directory. ; force_rebuild=no ; rebuild_age ; default: 0 (none) ; ; If set to more than zero (0), the file will be rewritten if it is ; more than AGE hours old. ; rebuild_age=0 ; cleanup_files ; default: yes ; ; If set this will remove other audio files of different formats ; for the same speech text hash. This prevents old files from being used. ; Cleanup is only done when a new file is written. ; cleanup_files=yes ; output_format ; default: wav ; ; wav (default), ulaw, alaw, sln, sln16, wav16 ; 16khz support is only for Asterisk 1.6 (16khz WAV support only with patch) ; audio_format=wav