[asterisk-users] cepstral TTS and app_swift

Julian Lyndon-Smith asterisk at dotr.com
Wed Jun 6 15:37:19 CDT 2007


Thanks for the input - that's what we've ended up doing. I was concerned 
at the impact on system performance, but it seems negligible.

I tested it with 30 simultaneous calls (10000 calls in total) using sipp 
and it didn't crash once.

Julian

Mojo with Horan & Company, LLC wrote:
> Have you tried something along the lines of:
> 
> System("swift blah blah blah -o blah.wav")
> Playback("blah.wav")
> 
> It does have an inherent delay for the generation step but maybe swift 
> binary segfaults less?  I've only used cepstral via swift binary, and it 
> has never segfaulted for me. My swift and voice are version 4.2.0.
> 
> I doubt different voices behave differently, but just in case, I use the 
> $7 Damien voice.
> 
> Moj
> 
> Julian Lyndon-Smith wrote:
>> We are having some major problems with app_swift since we went live. 
>> It is regularly segfaulting.
>>
>> I don't know if this is my fault or not, but here's the story:
>>
>> Installed the cepstral voices (at the time, 4.0) on our test system 
>> (2.6.9-42.0.10.ELsmp)
>> and later added some extra voices (now 4.2). All worked fine - we 
>> stress tested (20+ simultaneous calls).
>>
>> Move to live ( 2.6.9-22.0.1.ELsmp) . Installed the cepstral voices 
>> (only 4.2).
>>
>> Started having problems with only 5 calls: swift by itself on the 
>> command line was fine (it worked) but app_swift complained that it 
>> couldn't find any voices.
>>
>> Looking into /opt/swift/lib, I saw that it was different to my test 
>> system.
>>
>> On live I had (snipped)
>>
>> -rwxrwxrwx  1 root root 139612 Jun  1 23:10 libceplang_en.so
>> =rwxrwxrwx  1 root root 139612 Jun  1 23:11 libceplang_en.so.4
>> -rwxr-xr-x  1 root root 139612 Jun  1 07:09 libceplang_en.so.4.2
>> -rwxrwxrwx  1 root root 547624 Jun  1 23:11 libceplex_uk.so
>> -rwxrwxrwx  1 root root 547624 Jun  1 23:11 libceplex_uk.so.4
>> -rwxr-xr-x  1 root root 547624 Jun  1 07:09 libceplex_uk.so.4.2
>>
>> on test I had
>>
>> lrwxrwxrwx  1 999 20202      20 Apr 24 16:17 libceplang_en.so -> 
>> libceplang_en.so.4.2
>> lrwxrwxrwx  1 999 20202      20 Apr 24 16:17 libceplang_en.so.4 -> 
>> libceplang_en.so.4.2
>> -rwxrwxr-x  1 999 20202  315933 Aug 17  2006 libceplang_en.so.4.1
>> -rwxrwxr-x  1 999 20202  139612 Mar 15 18:21 libceplang_en.so.4.2
>> lrwxrwxrwx  1 999 20202      19 Apr 24 16:17 libceplex_uk.so -> 
>> libceplex_uk.so.4.2
>> lrwxrwxrwx  1 999 20202      19 Apr 24 16:17 libceplex_uk.so.4 -> 
>> libceplex_uk.so.4.2
>> -rwxrwxr-x  1 999 20202  591033 Aug 17  2006 libceplex_uk.so.4.1
>> -rwxrwxr-x  1 999 20202  547624 Mar 15 18:20 libceplex_uk.so.4.2
>>
>> I then removed all the non 4.2 libs and created a symbolic link to the 
>> 4.2 libs to match test.
>>
>> fired it all up, and app_swift then worked. Or so I thought. segfault 
>> - but not on every call.
>>
>> what I would like to know is:
>>
>> A) has anybody got a later version of app_swift (0.9.1)
>> B) does anyone else use cepstral, and how ?
>> C) what is the story with the cepstral libraries ?
>>
>> many thanks
>>
>> Julian
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> ______________________________________________________________________
> This email for dotr.com has been scanned by MessageLabs
> ______________________________________________________________________
> 
> 



More information about the asterisk-users mailing list