Thanks Joerg. <br><br>although to be honest, I wasn&#39;t looking for the theoretical solution<br>but what kind of Chuck code objects to use for this. My Chuck<br>learning curve seems way slower than Python/PD, I don&#39;t know why.
<br>I think it&#39;s the lack of explanatory notes in examples, or some kind<br>of proper tutorial.<br><br><br><br><div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">joerg piringer</b> &lt;<a href="mailto:joerg@piringer.net">
joerg@piringer.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">AlgoMantra schrieb:<br>&gt; 1. What is the simplest way to detect the pitch
<br>&gt; of an audio signal (from the mic) in Chuck?<br><br>zero crossing detection.<br>count how many times the signal crosses zero. how many times a second it<br>changes from positive to negative values or vice versa.<br>
that could be a rough estimate of the frequency. this is not very<br>reliable but works quite well with sounds that are not too hissy. low<br>pass filtering before counting helps a little bit.<br><br>best<br>joerg<br><br>
<br><br>--<br><a href="http://joerg.piringer.net">http://joerg.piringer.net</a><br><a href="http://www.transacoustic-research.com">http://www.transacoustic-research.com</a><br><a href="http://www.iftaf.org">http://www.iftaf.org
</a><br><a href="http://www.vegetableorchestra.org/">http://www.vegetableorchestra.org/</a><br>_______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">
chuck-users@lists.cs.princeton.edu</a><br><a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br></blockquote></div><br><br clear="all"><br>
-- <br>-------&nbsp;&nbsp;&nbsp;&nbsp;-.-<br>1/f&nbsp;&nbsp; )))&nbsp;&nbsp;--.<br>-------&nbsp;&nbsp;&nbsp;&nbsp;...<br><a href="http://www.algomantra.com">http://www.algomantra.com</a>