#N canvas 459 81 569 530 10; #X obj 0 557 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289 0; #X obj 0 380 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0; #N canvas 386 367 437 250 META 0; #X text 1 20 LICENSE SIBSD; #X text 1 100 LIBRARY cyclone; #X text 1 60 INLET_0 signal; #X text 1 80 OUTLET_0 signal; #X text 1 0 KEYWORDS signal change direction detect; #X text 1 40 DESCRIPTION detect signal change and direction; #X text 0 122 VERSION 0.1-alpha57; #X text 0 140 AUTHOR Krzysztof Czaja; #X text 1 158 RELEASE_DATE 2002; #X text 2 177 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html ; #X text 2 209 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan adapted the patch to pd-extended 2015-02-02; #X restore 501 559 pd META; #X obj 0 435 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0; #X obj 0 475 cnv 3 550 3 empty empty 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 empty empty 3 12 0 14 -204280 -1 0; #X text 6 1 Related Objects; #X obj 13 33 change; #X restore 207 559 pd Related_objects; #X obj 80 445 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0; #X obj 0 0 cnv 15 552 40 empty empty change~ 3 12 0 18 -204280 -1 0; #X text 12 23 Detect signal change and direction; #X obj 397 273 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 413 270 signal isn't the same; #X msg 287 61 0 \, 0 5000; #X obj 370 293 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 193 61 500 \, 0 5000; #X msg 100 61 0 \, 500 5000; #X obj 281 317 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 190 329 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 100 99 line~; #X text 386 291 signal is the same; #X text 100 45 245 increasing; #X text 193 45 245 decreasing; #X text 288 45 245 the same; #X obj 370 215 expr~ $v1==0; #X obj 280 215 expr~ $v1==1; #X obj 190 215 expr~ $v1==-1; #X obj 100 267 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 -262144 -1 -1 0 256; #X obj 12 246 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 -262144 -1 -1 0 256; #X text 110 388 signal; #X text 180 388 - signal to detect change and direction; #X text 110 491 (none); #X text 110 444 signal; #X text 179 444 - -1 then signal is decreasing \, 1 then signal is increasing \, 0 then signal is the same; #X obj 497 4 change~; #X obj 80 390 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0; #X obj 100 143 cyclone/change~; #X text 296 317 detect when signal; #X text 296 329 is increasing; #X text 183 344 detect when signal; #X text 185 356 is decreasing; #X obj 190 247 cyclone/edge~; #X obj 281 247 cyclone/edge~; #X obj 370 247 cyclone/edge~; #X text 110 403 float; #X text 180 402 - sets the signal compare value; #X obj 12 214 cyclone/Snapshot~ 100; #X obj 100 194 cyclone/Snapshot~ 100; #X obj 518 345 dspSwitch~; #X connect 11 0 17 0; #X connect 13 0 17 0; #X connect 14 0 17 0; #X connect 17 0 34 0; #X connect 17 0 44 0; #X connect 22 0 41 0; #X connect 23 0 40 0; #X connect 24 0 39 0; #X connect 34 0 22 0; #X connect 34 0 24 0; #X connect 34 0 23 0; #X connect 34 0 45 0; #X connect 39 0 16 0; #X connect 40 0 15 0; #X connect 41 0 12 0; #X connect 41 1 9 0; #X connect 44 0 26 0; #X connect 45 0 25 0;