I don&#39;t understand this cycle and zero-crossing thing... <br><br><div class="gmail_quote">2010/8/17 Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:<br>
<br>
&gt; i will try this when i have found a way to extract<br>
&gt; single-cycle waves from audio input in pd...<br>
<br>
</div>Not yet tried it myself, but what about writing live input to a table<br>
(for instance with [tabwrite~]) in order to have access to the audio<br>
data with message based objects? With those it should be fairly easy to<br>
the detect the exact position of a zero crossing. For finding a single<br>
cycle, it would be sufficient to find a positive crossing - for<br>
instance-  and from there find the next one, so you have the exact end<br>
points of one single cycle.<br>
<br>
Of course, there might be waveforms which have several zero crossings<br>
per cycle, but the above approach might be a start.<br>
<font color="#888888"><br>
Roman<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>