Hi Russell,
I, myself, have just gone through this same thing. Here is what you need to
do to correct this problem.
1. Download http://www.mezzo.net/asterisk/app_swift-2.0rc1.tgz, if you
haven't already.
2. Look in the source of app_swift.c for the line:
const int framesize = 160*4;
3. Now change it to read:
const int framesize = 20;
4. Recompile and try your new version of app_swift
Regards,
T. Reese
----- Original Message -----
From: "Russell Handorf" <rhandorf at handorf.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, September 17, 2007 8:56 PM
Subject: [asterisk-users] Asterisk 1.4 and Cepstral
> Greetings,
>
> I've recently upgraded from Asterisk 1.2 to 1.4. I've been
searching for
> a solution, but am also trying the easy way at the same time. I've now
> got David of Cepstral now speaking using app_swift from
> http://www.mezzo.net/asterisk/app_swift.html .
>
> The problem is, he sounds way worse than he did when it was asterisk
> version 1.2. I'm seriously considering either rolling back, or having
to
> run a 1.2 instance connected to 1.4 via iax.
>
> What info would you all be looking for to help me trouble shoot, or are
> there any pointers as to what I should be looking for in a config file.
>
> Thanks.
>
> extensions.conf:
>
> exten => 403,1,Answer()
> exten => 403,2,Swift(Test)
> exten => 403,3,Swift(David^Test Test)
> exten => 403,4,Swift(This sounds bloody aweful)
>
>
> swift.conf:
>
> [general]
> buffer_size=65535
> goto_exten=no
> voice=David-8kHz
>
>
> VOIP*CLI> show application Swift
> VOIP*CLI>
> -= Info about application 'Swift' =-
>
> [Synopsis]
> Speak text through Swift text-to-speech engine.
>
> [Description]
> Swift([<Voice>^]text) Speaks the given text through the Swift TTS
engine.> Returns -1 on hangup or 0 otherwise. User can exit by pressing any key.
>
> _______________________________________________
>
> Sign up now for AstriCon 2007! September 25-28th.
http://www.astricon.net/>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users