<div> <font face="Arial, Helvetica, sans-serif">Yup, I tried different settings for dft_min and dft_confirm before but did not understand what they meant. <br>
Back then I guessed that "dft" meant "discrete Fourier transform" not "default" and these variables were cut off frequencies of a filter but that did not quite make sense.<br>
For instance, in the "yes/no" recognition part of the demo, one variable was set lower than the other but not in other places. <br>
<br>
Thanks for clearing up their meanings.<br>
<br>
I've played with values for those variables more based on the output and it does help.<br>
<br>
However, I'm and was getting recognition of "strange patterns" that all start with 2222 in superscript like:<br>
<br>
2222<br>
2222||||?<br>
2222h<br>
2222p?o??<br>
2222h\|<br>
2222||||?<br>
<br>
What's going on here and what can I do about it?<br>
<br>
Thanks.<br>
Mark.<br>
</font></div>
<div> <br>
</div>
<div> <br>
</div>
-----Original Message-----<br>
From: Anthony Minessale <anthony.minessale@gmail.com><br>
To: freeswitch-users@lists.freeswitch.org<br>
Sent: Mon, 17 Nov 2008 2:39 pm<br>
Subject: Re: [Freeswitch-users] Relative timeout in Session.collectInput?<br>
<br>
<div id="AOLMsgPart_3_ad10a2e4-d0f9-4ee1-81b4-951a6a752592">
maybe its the detection of talk stop.<br>
are you pasing between your toppings.<br>
try saying them all very fast with no pause.<br>
It may be the pause between utterances that is catching you.<br>
the config has params.<br>
<br>
threshold (default 400): higher the number louder you have to talk to be considered "talking" <br>
silence-hits (default 35): number of hits below threshold before detecting "stop talking"<br>
<br>
<div class="gmail_quote">
On Mon, Nov 17, 2008 at 4:23 PM, <span dir="ltr"><<a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font face="Arial, Helvetica, sans-serif">I'm suspecting that one </font>of my pauses <font face="Arial, Helvetica, sans-serif">(or something else), </font>as I<font face="Arial, Helvetica, sans-serif">'m</font> say<font face="Arial, Helvetica, sans-serif">ing</font> my topping choices<font face="Arial, Helvetica, sans-serif">,</font> <font face="Arial, Helvetica, sans-serif">is being interpreted</font> as the end of my choices.<font face="Arial, Helvetica, sans-serif"> <br>
<br>
I've tried adjusting the timeout argument value of collectInput but that doesn't seem to do anything. <br>
<br>
So, I'm left wondering what's causing my choices to be truncated and thus collectInput handles only a part of the toppings ordered. <br>
<br>
It doesn't seem like the speech recognizer is only recognizing one topping at a time as an event that's caught by collectInput since I have gotten recognition of more than one topping but usually not that many more.<br>
<br>
</font><font face="Arial, Helvetica, sans-serif">Nickolay Shmyrev at CMU Sphinx Help Forum thought there maybe some timeout involved because passing silence to the recognizer wasn't a good idea and suggested a relative timeout. <br>
<br>
So what's being passed to the recognizer or is there something else going on? <br>
<br>
Mark.<br>
<br>
</font>
<div class="Ih2E3d">
<div> -----Original Message-----From: Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
</div>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Sent: Sun, 16 Nov 2008 8:40 am<br>
Subject: Re: [Freeswitch-users] Relative timeout in Session.collectInput?<br>
<br>
</div>
<div>
<div></div>
<div class="Wj3C7c">
<div>
The speech detector never stops working. The collect input just pauses to wait for some input.<br>
It can catch the event any time a file is playing or that collect input is called.<br>
<br>
<br>
<div class="gmail_quote">On Sat, Nov 15, 2008 at 1:19 PM, <span dir="ltr"><<a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font face="Arial, Helvetica, sans-serif">Session.collectInput looks like it has a fixed timeout setting which blocks the channel until the timeout expires.<br>
<br>
I've been informed that appears to be the case from a brief examination of </font>how speech is collected<font face="Arial, Helvetica, sans-serif">.</font>
<font face="Arial, Helvetica, sans-serif">S</font>WITCH_DECLARE(switch_status_t) switch_ivr_collect_digits_callback <br>
<font face="Arial, Helvetica, sans-serif">seems to</font> use a fixed timeout to cancel recording. <font face="Arial, Helvetica, sans-serif">??</font><br>
<font face="Arial, Helvetica, sans-serif"><br>
Is it possible to set-up a "relative" timeout which is based on the time from when the last valid sound was recognized as in choosing toppings from a list of 20 toppings in the pizza demo? This situation involves an indeterminate number of valid sounds (toppings) and thus is unlike the dtmf example give in <a target="_blank" href="http://wiki.freeswitch.org/wiki/Session_collectInput">http://wiki.freeswitch.org/wiki/Session_collectInput</a> where a counter in the callback is also used to determine when to unblock the channel.<br>
<br>
Mark.<br>
<br>
<br>
</font>
<div><br>
<font style="color: black; font-family: ARIAL,SAN-SERIF; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><hr style="margin-top: 10px;">
Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - <a target="_blank" href="http://pr.atwola.com/promoclk/100000075x1212904500x1200818240/aol?redir=http://toolbar.aol.com/games/download.html?ncid=emlweusdown00000004">Download Now!</a> </font></div>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote></div>
<br>
<br clear="all"><br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a target="_blank" href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
</div>
<div style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt>_______________________________________________<br>
<br>
Freeswitch-users mailing list<br>
<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<br>
<a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<br>
UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<br>
<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</tt></pre>
</div>
<div><br>
<font style="color: black; font-family: ARIAL,SAN-SERIF; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><hr style="margin-top: 10px;">
Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - <a target="_blank" href="http://pr.atwola.com/promoclk/100000075x1212904500x1200818240/aol?redir=http://toolbar.aol.com/games/download.html?ncid=emlweusdown00000004">Download Now!</a> </font></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 target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote></div>
<br>
<br clear="all"><br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a target="_blank" href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
</div>
<!-- end of AOLMsgPart_3_ad10a2e4-d0f9-4ee1-81b4-951a6a752592 -->
<div id="AOLMsgPart_4_ad10a2e4-d0f9-4ee1-81b4-951a6a752592" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt>_______________________________________________<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>
</tt></pre>
</div>
<!-- end of AOLMsgPart_4_ad10a2e4-d0f9-4ee1-81b4-951a6a752592 -->
<div id='MAILCIADB036-5c7849231df017e' class='aol_ad_footer'><BR/><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px"></HR>Instant access to the latest & most popular FREE games while you browse with the Games Toolbar - <a href="http://pr.atwola.com/promoclk/100000075x1212904500x1200818240/aol?redir=http://toolbar.aol.com/games/download.html?ncid=emlweusdown00000004">Download Now!</a> </div>