Or using mod file string:<a href="http://wiki.freeswitch.org/wiki/Mod_file_string">http://wiki.freeswitch.org/wiki/Mod_file_string</a><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Mod_file_string"></a>Dan<br>
<br><div class="gmail_quote">On Tue, Dec 15, 2009 at 5:05 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">You can do that with phrase macros.<div><br></div><div>Mike</div><div><div></div><div class="h5"><div><br><div><div>On Dec 15, 2009, at 2:56 PM, Malay Thakershi wrote:</div><br><blockquote type="cite">
<span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div lang="EN-US" link="blue" vlink="purple">
<div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">Hello, I create one WAV file that has:</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">Question + Option 1 + Option 2 + Option 3 + </div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">I noticed towards end of the file Cepstral Allison starts chopping and speeding up.</div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"></div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
So my question text that gets converted to WAV file using swift EXE looks like:</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"></div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">&lt;break strength=&#39;weak&#39;/&gt;Which is the biggest mammal on land?</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
&lt;break strength=&#39;weak&#39;/&gt;Select one of the following choices.&lt;break strength=&#39;weak&#39;/&gt;Or press star to skip the question</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
&lt;break strength=&#39;weak&#39;/&gt;1 &lt;break strength=&#39;weak&#39;/&gt; Parrot</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
&lt;break strength=&#39;weak&#39;/&gt; 2 &lt;break strength=&#39;weak&#39;/&gt; Elephant</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
&lt;break strength=&#39;weak&#39;/&gt; 3 &lt;break strength=&#39;weak&#39;/&gt; T-Rex</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
&lt;break strength=&#39;weak&#39;/&gt; 4 &lt;break strength=&#39;weak&#39;/&gt; Blue Whale</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
&lt;break strength=&#39;weak&#39;/&gt;</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"></div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
And my csharp code looks like:</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"><span style="font-size:10pt;font-family:&#39;Courier New&#39;"> pStrRetID = mObjMainSession.PlayAndGetDigits(1, 1, 3, 5000,<span></span><span style="color:rgb(163, 21, 21)">&quot;*#&quot;</span>,</span></div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"><span style="font-size:10pt;font-family:&#39;Courier New&#39;"><span></span><span style="color:rgb(163, 21, 21)">@&quot;C:\FreeSWITCH\sounds\en\us\chAsmt\Student_1222\Q1.WAV &quot;</span>,</span></div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"><span style="font-size:10pt;font-family:&#39;Courier New&#39;"><span></span><span style="color:rgb(163, 21, 21)">@&quot;C:\FreeSWITCH\sounds\en\us\chAsmt\static\error\invalid_choice.wav&quot;</span>,</span></div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"><span style="font-size:10pt;font-family:&#39;Courier New&#39;"> <span style="color:rgb(163, 21, 21)">&quot;^\\d&quot;</span>,<span></span><span style="color:rgb(163, 21, 21)">&quot;&quot;</span>);</span></div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"></div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">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.</div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"></div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
I thought, if I break each file into individual WAV instead of 1 big WAV, it may help?</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">
</div><div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif">Is there a way to play multiple (separate) WAV files in PlayAndGetDigits function?</div>
<div style="margin-top:0in;margin-right:0in;margin-bottom:0.0001pt;margin-left:0in;font-size:11pt;font-family:Calibri, sans-serif"></div></div></div></span></blockquote></div></div></div></div></div><br>_______________________________________________<br>

FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>