Re: [asterisk-users] app_swift.c:338 engine: Failed to set voice

2010-07-30 Thread Kevin P. Fleming
On 07/28/2010 08:20 PM, Landy Landy wrote:
 Jeremy,
 
 Thanks a lot that helped and solved the problem. I had it as: 
 voice=Marta-8kHz before and that didn't work and now changed it to 
 voice=Marta.

That's because you only have the Marta-16kHz voice installed.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] app_swift.c:338 engine: Failed to set voice

2010-07-28 Thread Landy Landy
Hello.

I'm trying to set TTS with Cepstral and Swift but can't get it to work. I get 
this error when testing it:


-- SIP/101- Playing 'welcome.gsm' (language 'es')
-- Executing [...@local-calls:3] Swift(SIP/101-, Hello this is 
ceptral) in new stack
[Jul 28 18:29:16] NOTICE[5191]: app_swift.c:304 engine: Text to Speak : Hello 
this is ceptral
[Jul 28 18:29:16] ERROR[5191]: app_swift.c:338 engine: Failed to set voice.

I'm using:

asterisk*CLI core show version
Asterisk 1.6.1.18 built by root @ optimum-asterisk on a i686 running Linux on 
2010-04-10 01:42:25 UTC


I googled around but, there isnt a real solution I could find. 

Any suggestions?

Thanks in advanced for your help.




  

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] app_swift.c:338 engine: Failed to set voice

2010-07-28 Thread Jeremy Kister
On 7/28/2010 6:22 PM, Landy Landy wrote:
 [Jul 28 18:29:16] NOTICE[5191]: app_swift.c:304 engine: Text to Speak : Hello 
 this is ceptral
 [Jul 28 18:29:16] ERROR[5191]: app_swift.c:338 engine: Failed to set voice.

Do you have cepstral installed and have the voice(s) registered ?
try: swift --voices

assuming swift is installed an a valid voice is registered,
what happens when you type: swift Test Message -o /tmp/file.wav

is /tmp/file.wav created ?  does it play ?

what is the output of: grep ^[a-z] /etc/asterisk/swift.conf

somewhere should say voice=X.  Is that voice installed as per the 
above swift --voices command ?

also, if you're going to be dialing digits with swift, you'll probably 
run into detection issues unless you use my patch at 
http://jeremy.kister.net/code/app_swift-1.6.2.patch


-- 

Jeremy Kister
http://jeremy.kister.net./

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] app_swift.c:338 engine: Failed to set voice

2010-07-28 Thread Landy Landy
 Do you have cepstral installed and have the voice(s)
 registered ?
 try: swift --voices

asterisk:~# swift --voices

Swift command-line synthesis program
Version 5.1.0 of July 2008
Copyright (c) 2000-2006, Cepstral LLC.

Voice  | Version | Lic? | Gender | Age | Language | Sample Rate
---|-|--||-|--|
Marta  | 5.1.0   | No   | female | 30  | Americas Spanish | 16000 Hz






 
 assuming swift is installed an a valid voice is
 registered,
 what happens when you type: swift Test Message -o
 /tmp/file.wav
 
 is /tmp/file.wav created ?  does it play ?

This creates the file and if I download it to my machine I can listen to it.

 what is the output of: grep ^[a-z]
 /etc/asterisk/swift.conf

asterisk:/home/landysaccount# grep ^[a-z] /etc/asterisk/swift.conf
buffer_size=65535
goto_exten=no
voice=Marta-8kHz|David-8kHz



 somewhere should say voice=X.  Is that voice
 installed as per the 
 above swift --voices command ?
 
 also, if you're going to be dialing digits with swift,
 you'll probably 
 run into detection issues unless you use my patch at 
 http://jeremy.kister.net/code/app_swift-1.6.2.patch

I had to patch that file in order for me to be able to install swift.




  

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] app_swift.c:338 engine: Failed to set voice

2010-07-28 Thread Jeremy Kister
On 7/28/2010 8:33 PM, Landy Landy wrote:
 asterisk:/home/landysaccount# grep ^[a-z] /etc/asterisk/swift.conf
 buffer_size=65535
 goto_exten=no
 voice=Marta-8kHz|David-8kHz

afaik, the voice parameter is simply the default voice when not 
specified via the swift binary or the Swift asterisk command.  even if 
it's not, you don't have David registered.

try making that:
voice=Marta

(or possibly: voice=Marta-8kHz)

then restart asterisk and give it another shot.

-- 

Jeremy Kister
http://jeremy.kister.net./

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] app_swift.c:338 engine: Failed to set voice

2010-07-28 Thread Landy Landy
Jeremy,

Thanks a lot that helped and solved the problem. I had it as: voice=Marta-8kHz 
before and that didn't work and now changed it to voice=Marta.

Thanks. I apreciate it.

--- On Wed, 7/28/10, Jeremy Kister asterisk...@jeremykister.com wrote:

 From: Jeremy Kister asterisk...@jeremykister.com
 Subject: Re: [asterisk-users] app_swift.c:338 engine: Failed to set voice
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 Date: Wednesday, July 28, 2010, 9:08 PM
 On 7/28/2010 8:33 PM, Landy Landy
 wrote:
  asterisk:/home/landysaccount# grep ^[a-z]
 /etc/asterisk/swift.conf
  buffer_size=65535
  goto_exten=no
  voice=Marta-8kHz|David-8kHz
 
 afaik, the voice parameter is simply the default voice when
 not 
 specified via the swift binary or the Swift asterisk
 command.  even if 
 it's not, you don't have David registered.
 
 try making that:
 voice=Marta
 
 (or possibly: voice=Marta-8kHz)
 
 then restart asterisk and give it another shot.
 
 -- 
 
 Jeremy Kister
 http://jeremy.kister.net./
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar
 every Thurs:
            
    http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
    http://lists.digium.com/mailman/listinfo/asterisk-users
 


  

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users