[Freeswitch-users] PlayAndGetDigits multiple WAV files

2009-12-15 Thread Malay Thakershi
Hello, I create one WAV file that has:

 

Question + Option 1 + Option 2 + Option 3 + .

 

I noticed towards end of the file Cepstral Allison starts chopping and
speeding up.

 

So my question text that gets converted to WAV file using swift EXE looks
like:

 

Which is the biggest mammal on land?

Select one of the following choices.Or press star to skip the question

1  Parrot

 2  Elephant

 3  T-Rex

 4  Blue Whale



 

And my csharp code looks like:

pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3,
5000, "*#",

 
@"C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV ",

 
@"C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav",

"^\\d", "");

 

 

What happens is, the voice just starts chopping and speeding up between
options. Even though I am not able to say that it only does that towards the
end, I think so.

 

I thought, if I break each file into individual WAV instead of 1 big WAV, it
may help?

 

Is there a way to play multiple (separate) WAV files in PlayAndGetDigits
function?

 

Please help.

 

Malay Thakershi 

 

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] PlayAndGetDigits multiple WAV files

2009-12-15 Thread Michael Jerris
You can do that with phrase macros.

Mike

On Dec 15, 2009, at 2:56 PM, Malay Thakershi wrote:

> Hello, I create one WAV file that has:
>  
> Question + Option 1 + Option 2 + Option 3 + …
>  
> I noticed towards end of the file Cepstral Allison starts chopping and 
> speeding up.
>  
> So my question text that gets converted to WAV file using swift EXE looks 
> like:
>  
> Which is the biggest mammal on land?
> Select one of the following choices. strength='weak'/>Or press star to skip the question
> 1  Parrot
>  2  Elephant
>  3  T-Rex
>  4  Blue Whale
> 
>  
> And my csharp code looks like:
> pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3, 
> 5000, "*#",
> 
> @"C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV ",
> 
> @"C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav",
> "^\\d", "");
>  
>  
> What happens is, the voice just starts chopping and speeding up between 
> options. Even though I am not able to say that it only does that towards the 
> end, I think so.
>  
> I thought, if I break each file into individual WAV instead of 1 big WAV, it 
> may help?
>  
> Is there a way to play multiple (separate) WAV files in PlayAndGetDigits 
> function?
>  
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] PlayAndGetDigits multiple WAV files

2009-12-15 Thread Dan Le
Or using mod file string: http://wiki.freeswitch.org/wiki/Mod_file_string

Dan

On Tue, Dec 15, 2009 at 5:05 PM, Michael Jerris  wrote:

> You can do that with phrase macros.
>
> Mike
>
> On Dec 15, 2009, at 2:56 PM, Malay Thakershi wrote:
>
> Hello, I create one WAV file that has:
>
> Question + Option 1 + Option 2 + Option 3 + …
>
> I noticed towards end of the file Cepstral Allison starts chopping and
> speeding up.
>
> So my question text that gets converted to WAV file using swift EXE looks
> like:
>
> Which is the biggest mammal on land?
> Select one of the following choices. strength='weak'/>Or press star to skip the question
> 1  Parrot
>  2  Elephant
>  3  T-Rex
>  4  Blue Whale
> 
>
> And my csharp code looks like:
> pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3,
> 5000, "*#",
> 
> @"C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV
> ",
>
> @"C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav",
> "^\\d", "");
>
>
> What happens is, the voice just starts chopping and speeding up between
> options. Even though I am not able to say that it only does that towards the
> end, I think so.
>
> I thought, if I break each file into individual WAV instead of 1 big WAV,
> it may help?
>
> Is there a way to play multiple (separate) WAV files in PlayAndGetDigits
> function?
>
>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] PlayAndGetDigits multiple WAV files

2009-12-15 Thread Anthony Minessale
make sure you are using latest trunk because it should not be sounding
choppy.


On Tue, Dec 15, 2009 at 4:22 PM, Dan Le  wrote:

> Or using mod file string: http://wiki.freeswitch.org/wiki/Mod_file_string
>
> Dan
>
> On Tue, Dec 15, 2009 at 5:05 PM, Michael Jerris  wrote:
>
>> You can do that with phrase macros.
>>
>> Mike
>>
>> On Dec 15, 2009, at 2:56 PM, Malay Thakershi wrote:
>>
>>  Hello, I create one WAV file that has:
>>
>> Question + Option 1 + Option 2 + Option 3 + …
>>
>> I noticed towards end of the file Cepstral Allison starts chopping and
>> speeding up.
>>
>> So my question text that gets converted to WAV file using swift EXE looks
>> like:
>>
>> Which is the biggest mammal on land?
>> Select one of the following choices.> strength='weak'/>Or press star to skip the question
>> 1  Parrot
>>  2  Elephant
>>  3  T-Rex
>>  4  Blue Whale
>> 
>>
>> And my csharp code looks like:
>> pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3,
>> 5000, "*#",
>> 
>> @"C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV
>> ",
>>
>> @"C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav",
>> "^\\d", "");
>>
>>
>> What happens is, the voice just starts chopping and speeding up between
>> options. Even though I am not able to say that it only does that towards the
>> end, I think so.
>>
>> I thought, if I break each file into individual WAV instead of 1 big WAV,
>> it may help?
>>
>> Is there a way to play multiple (separate) WAV files in PlayAndGetDigits
>> function?
>>
>>
>>
>> ___
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> ___
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com 
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org 
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] PlayAndGetDigits multiple WAV files

2009-12-15 Thread Malay Thakershi
Regarding Choppy issue:

How do I know what trunk I am using? I had downloaded windows installer from
website and installed it. Then I had to insert few DLL files from the build
to get it up and running.

 

Is it possible to only get updated files from the latest trunk? Thank you
for help.

 

Also thank "Dan" for suggesting mod_file solution for combining files for
playback.

 

Malay Thakershi

 

From: Anthony Minessale [mailto:anthony.miness...@gmail.com] 
Sent: Tuesday, December 15, 2009 5:12 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] PlayAndGetDigits multiple WAV files

 

make sure you are using latest trunk because it should not be sounding
choppy. 



On Tue, Dec 15, 2009 at 4:22 PM, Dan Le  wrote:

Or using mod file string: http://wiki.freeswitch.org/wiki/Mod_file_string

 

Dan

On Tue, Dec 15, 2009 at 5:05 PM, Michael Jerris  wrote:

You can do that with phrase macros.

 

Mike

 

On Dec 15, 2009, at 2:56 PM, Malay Thakershi wrote:





Hello, I create one WAV file that has:

 

Question + Option 1 + Option 2 + Option 3 + .

 

I noticed towards end of the file Cepstral Allison starts chopping and
speeding up.

 

So my question text that gets converted to WAV file using swift EXE looks
like:

 

Which is the biggest mammal on land?

Select one of the following choices.Or press star to skip the question

1  Parrot

 2  Elephant

 3  T-Rex

 4  Blue Whale



 

And my csharp code looks like:

pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3,
5000, "*#",

 
@"C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV ",

 
@"C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav",

"^\\d", "");

 

 

What happens is, the voice just starts chopping and speeding up between
options. Even though I am not able to say that it only does that towards the
end, I think so.

 

I thought, if I break each file into individual WAV instead of 1 big WAV, it
may help?

 

Is there a way to play multiple (separate) WAV files in PlayAndGetDigits
function?

 

 

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_miness...@hotmail.com
<mailto:msn%3aanthony_miness...@hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
<mailto:paypal%3aanthony.miness...@gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org
<mailto:sip%3a...@conference.freeswitch.org> 
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
<mailto:googletalk%3aconf%2b...@conference.freeswitch.org> 
pstn:213-799-1400

___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] PlayAndGetDigits multiple WAV files

2009-12-15 Thread Brian West
Compile it yourself is the best bet to get the very latests and  
greatest code.


/b

On Dec 15, 2009, at 6:26 PM, Malay Thakershi wrote:


Is it possible to only get updated files from the latest trunk?


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org