<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">You don't even need that much logic for zero crossings. They are easy to find using some simple arithmetic. See attached.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 9:39 AM, i go bananas <span dir="ltr"><<a href="mailto:hard.off@gmail.com" target="_blank">hard.off@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span style="font-size:12.8px"><span class="">>real-time zero-crossing detection with sample-rate precision.<br><br></span>this is something that is super simple to implement.<br><br></span><div style="font-size:12.8px"><div><div></div></div></div><div><span style="font-size:12.8px">it's like:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">if (incomingSignal > 0 && previousIncomingSignal < 0 || </span><span style="font-size:12.8px">incomingSignal < 0 || </span><span style="font-size:12.8px">previousIncomingSignal > 0) return 1;<br>else return 0;<br><br>i also don't understand why such an easy tool has never been put into vanilla pd.  </span></div></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>