#N canvas 276 58 554 584 10;
#X obj -1 562 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#X obj -1 396 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 388 368 437 250 META 0;
#X text 40 155 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 40 35 LICENSE SIBSD;
#X text 40 135 AUTHOR Miller Puckette;
#X text 40 175 RELEASE_DATE 1997;
#X text 40 115 LIBRARY cyclone;
#X text 40 75 INLET_0 signal;
#X text 40 95 OUTLET_0 signal;
#X text 40 15 KEYWORDS signal change direction detect;
#X text 40 55 DESCRIPTION detect signal change and direction;
#X text 40 195 HELP_PATCH_AUTHORS Alex Cleveland updated this patch
for Pd-l2ork version 2013.05.28;
#X restore 500 564 pd META;
#X obj -1 441 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 481 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#N canvas 166 510 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X obj 13 33 change;
#X restore 206 564 pd Related_objects;
#X obj 79 450 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header change~ 3 12 0
18 -204280 -1 0;
#X text 11 23 Detect signal change and direction;
#X obj 396 255 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 412 252 signal isn't the same;
#X msg 286 71 0 \, 0 5000;
#X obj 369 275 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 192 71 500 \, 0 5000;
#X msg 99 71 0 \, 500 5000;
#X obj 284 299 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 191 311 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 99 109 line~;
#X text 385 273 signal is the same;
#X text 99 55 245 increasing;
#X text 192 55 245 decreasing;
#X text 287 55 245 the same;
#X obj 99 143 change~;
#X obj 191 232 edge~;
#X obj 284 229 edge~;
#X obj 369 229 edge~;
#X obj 369 197 expr~ $v1==0;
#X obj 283 197 expr~ $v1==1;
#X obj 191 197 expr~ $v1==-1;
#X obj 99 197 Snapshot~ 100;
#X obj 99 229 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256 0;
#X obj 7 157 Snapshot~ 100;
#X obj 7 180 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256 0;
#X text 109 404 signal;
#X text 179 404 - signal to detect change and direction;
#X text 109 496 (none);
#X text 109 449 signal;
#X text 178 449 - -1 then signal is decreasing \, 1 then signal is
increasing \, 0 then signal is the same;
#X obj 496 4 change~;
#X obj 79 406 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 299 299 detect when signal is increasing;
#X text 188 326 detect when signal is decreasing;
#X obj 480 49 pddp/dsp;
#X obj 5 563 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide
;
#X connect 11 0 17 0;
#X connect 13 0 17 0;
#X connect 14 0 17 0;
#X connect 17 0 22 0;
#X connect 17 0 31 0;
#X connect 22 0 26 0;
#X connect 22 0 29 0;
#X connect 22 0 28 0;
#X connect 22 0 27 0;
#X connect 23 0 16 0;
#X connect 24 0 15 0;
#X connect 25 0 12 0;
#X connect 25 1 9 0;
#X connect 26 0 25 0;
#X connect 27 0 24 0;
#X connect 28 0 23 0;
#X connect 29 0 30 0;
#X connect 31 0 32 0;
