<div dir="ltr"><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">Hi, <br><br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">I'm trying to detect North America RING_TONE using spandsp Using default settings as mentioned follows<br><br><pre style="font-family:monospace,courier;padding:1em;border-width:1px;border-style:dashed;border-color:rgb(47,111,171);color:rgb(0,0,0);line-height:1.3em;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(249,249,249)"> <tone name="RING_TONE" description="North America ring">
<element freq1="440" freq2="480" min="1200" max="0"/>
</tone></pre><br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">But I'm not getting consistent tone detections. Is there any thing that I need to change to have a proper tone detection. <br><br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">As per the tone/spectrum analysis using audacity. This tone is having two frequencies 440 and 480 a mentioned in conf, but spandsp is not detecting them.<br><br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">To have a proper and consistent tone detection how much duration I should use?<br><br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">Please refer spectrum analysis of tone representing 440Hz & 480Hz frequencies. <br><br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">As per the doc min and max values represents duration. How to determine these durations of any give tone?<br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default">What is the meaning of having max value 0 ?<br></div><div style="font-size:small;color:rgb(11,83,148)" class="gmail_default"><br clear="all"></div><br>-- <br><div class="gmail_signature">Thanks & Regards,<br>Naveen Tamanam<br></div>
</div>