Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Asterisk onto OS X ( with app_swift included as well as a fully licensed Cepstral voice and am getting very choppy audio when using the Swift command. My swift.conf is below and seems to be the same as every example I have come across.


The output I get is very choppy, and unusable. Playing prerecorded audio files work fine.

Has anyone else came across this issue and found a way to fix it?

share|improve this question

TTS is a very expensive process CPU wise. What kind of hardware are you running this on? I'd look at the output of top and see how loaded the CPU's are.

Choppy audio when doing TTS normally means that your hardware can't keep a real time flow of audio going.

Also if I remember correctly SWIFT caches generated audio, is it better the second time around?

Can you post the output of the top command while you are trying to use swift?

share|improve this answer
The machine isn't really working at all while running swift. I found something that seems to work for me, answer below. – John Duff Feb 16 '10 at 20:10
up vote 0 down vote accepted

I found a post taking about adjusting the framesize constant in app_swift and then recompiling and that seemed to work. I compiled app_swift from the github repository making the change mentioned and it's working a lot better.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.