<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It sounds like a ring tone, if thats the case, you should probably work off the specs for that tone instead of the recording which might have other artifacts in it. What exactly is the full scenario where you need to detect an inband ringback tone?<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 5, 2015, at 3:51 PM, Naveen Tamanam <<a href="mailto:naveen32india@gmail.com" class="">naveen32india@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline"><br class=""></div><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">Hi Nandy, <br class=""><br class=""></div><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">I am glad to see your reply. I am trying to detect the tone which sounds like a simple ring. <br class=""></div><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">and I can't guess when that could occur, so I listen for the tone through out the call. I am attaching the tone. </div><div class=""><div class="gmail_default" style="font-size:small;color:rgb(11,83,148)"><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Jun 4, 2015 at 10:39 AM, Nandy Dagondon <span dir="ltr" class=""><<a href="mailto:nandy1925@gmail.com" target="_blank" class="">nandy1925@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><br class=""><div class="gmail_extra"><div class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi,</div></div><div class=""><br class=""></div><div class="">What are you trying to do with tone_detect? Is it call progress? Fax detect?</div><div class=""><br class=""></div><div class="">/Nandy</div></div></div></div>
<br class=""><div class="gmail_quote"><div class=""><div class="h5">On Tue, May 19, 2015 at 4:55 AM, Naveen Tamanam <span dir="ltr" class=""><<a href="mailto:naveen32india@gmail.com" target="_blank" class="">naveen32india@gmail.com</a>></span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><div dir="ltr" class=""><div style="font-size:small;color:rgb(11,83,148)" class="">Hi, <br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">I am using following command for tone detection, <br class=""><br class=""><span style="font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.2px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; float: none; background-color: rgb(255, 255, 255); display: inline !important;" class="">tone_detect <uuid> <key> <tone_spec> [<flags> <timeout> <app> <args>] <hits></span><br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Many times I end with the false detection. In my case I haven't given all optional args. <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">I just gave tone_detect uuid key tone_specs. It would be something like, <br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">tone_detect 8582g3b8-f7db-10e4-2ac4-c01885c1ffd3 tone_name frp1,frp2,frp3 <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class=""> <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Where frp1, frp2 and frp3 are the frequencies of few peak amplitudes of the tone. <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Those frequencies are detected through audacity by plotting spectrum, <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Spectrum specs are, <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class=""> Alogorithm: Spectrum, <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class=""> Fuction: Hanning window or Bartlett window<br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class=""> Size: 512<br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class=""> Axis: Log Frequencies <br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Is there anything I am missing. Any suggestions are highly appreciated, Thanks.<span class=""><font color="#888888" class=""><br class=""></font></span></div><span class=""><font color="#888888" class=""><div style="font-size:small;color:rgb(11,83,148)" class=""><br class=""></div></font></span></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></div></blockquote></div><br class=""></div></body></html>