[PD] zero crossing

Ed Kelly morph_2016 at yahoo.co.uk
Mon Jan 17 02:39:33 CET 2011


>But..well, one block later may be accourate theoretically but not real(time). 
>Anyway this may cover some needs e.g. writing tables for scoping audio...

That's why I created [zeroxpos~] - so that it gives you the position of the 1st, 
2nd, 3rd etc zero crossing within the block. Then you can use a [bang~] 
connected to a counter like [cup] within the block object to calculate the time 
from when the counter was last initialized, and work out when the zero-crossing 
happened.

It only works when audio is buffered into a table though - it's not true 
real-time but one block away.


Ed


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110117/c6ffd8b7/attachment.htm>


More information about the Pd-list mailing list