See attached patch. Could probably still use a little tweaking, and there's a lower limit on number of crossings per gate, but maybe this is a start.
-david
On 4/3/06, Frank Barknecht fbar@footils.org wrote:
Hallo, Peter Worth hat gesagt: // Peter Worth wrote:
it seems very simple what i'm trying to do (if i was programming it in C it would be fairly trivial), so its suprising how difficult its turning out to be...
If you'd accept C: There is an external called "zerocross~" in xjimmies, which counts zerocrossings: http://tot.sat.qc.ca/down/nslam/doc/DOC_HTML/_nSLAMv2Reference.html#zerocros...
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list