#N canvas 0 22 454 304 10; #X msg 182 52 1; #X msg 192 68 2; #X msg 224 90 5; #X obj 33 76 osc~ 100; #X floatatom 183 112 5 0 0 0 - - -; #X text 187 37 find...; #X text 207 52 1st zero crossing in frame; #X text 219 68 2nd zero crossing in frame; #X text 249 90 5th zero crossing in frame; #X text 240 105 ...etc; #X msg 76 31 bang; #X text 74 15 do it!; #X floatatom 57 160 5 0 0 3 sample - -; #X floatatom 183 159 5 0 0 3 direction - -; #X msg 329 156 \; pd dsp 1; #X obj 329 140 loadbang; #X text 29 205 If you ask to find a number of zero-crossings which will return a result past the end of the frame \, it will carry the number into the next frame and find it there!; #X obj 263 36 loadbang; #N canvas 0 22 213 256 it's_in_here! 0; #X obj 35 125 zeroxpos~; #X floatatom 94 104 5 0 0 0 - - -; #X obj 94 82 inlet; #X obj 35 49 inlet~; #X obj 39 193 block~ 1024; #X obj 36 154 outlet; #X obj 93 154 outlet; #X connect 0 0 5 0; #X connect 0 1 6 0; #X connect 1 0 0 1; #X connect 2 0 1 0; #X connect 3 0 0 0; #X restore 77 130 pd it's_in_here!; #X connect 0 0 4 0; #X connect 1 0 4 0; #X connect 2 0 4 0; #X connect 3 0 18 0; #X connect 4 0 18 1; #X connect 10 0 18 0; #X connect 15 0 14 0; #X connect 17 0 0 0; #X connect 18 0 12 0; #X connect 18 1 13 0;