#N canvas 577 23 563 816 10;
#X obj 5 770 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 616 310 360 252 META 0;
#X text 0 19 LICENSE SIBSD;
#X text 0 133 LIBRARY cyclone;
#X text 0 114 OUTLET_0 signal;
#X text 0 0 KEYWORDS signal fold wrap range;
#X text 0 38 DESCRIPTION fold or wrap a signal within a given range
;
#X text 0 57 INLET_0 signal float mode;
#X text 0 76 INLET_1 flaot signal;
#X text 0 95 INLET_2 float signal;
#X text 1 153 VERSION 0.2-beta1;
#X text 1 171 AUTHOR Krzysztof Czaja;
#X text 2 189 RELEASE_DATE 2002;
#X text 3 208 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 3 240 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 506 772 pd META;
#X obj 5 550 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 5 587 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 5 710 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#N canvas 312 452 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 restore 202 772 pd Related_objects;
#X obj 84 418 cnv 17 3 76 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 84 560 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 4 40 cnv 15 552 40 empty empty pong~ 3 12 0 18 -204280 -1 0
;
#X text 206 502 - set low range;
#X obj 84 525 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X obj 84 501 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 203 526 - set high range;
#X text 147 560 signal;
#X text 136 613 2) float;
#X text 136 630 3) float;
#X obj 510 48 pong~;
#X msg 92 242 mode \$1;
#X floatatom 305 241 0 -100 100 0 - - -;
#X floatatom 228 220 0 -100 100 0 - - -;
#X obj 123 391 cnv 5 5 5 empty empty -1 6 2 0 14 -262144 -1 0;
#X obj 132 301 cnv 5 5 5 empty empty 1 6 2 0 14 -262144 -1 0;
#X obj 231 195 hsl 128 15 -1 1 0 0 empty empty empty -2 -8 0 10 -228856
-1 -1 0 1;
#X text 110 502 float/signal;
#X text 110 526 float/signal;
#X text 109 420 float/signal;
#X obj 92 161 vradio 15 1 0 4 empty empty empty 0 -8 0 10 -228856 -1
-1 0;
#X floatatom 92 224 2 0 0 0 - - -, f 2;
#X text 111 159 mode 0: fold;
#X text 111 174 mode 1: wrap;
#X text 111 189 mode 2: clip;
#X text 264 194 low range;
#X obj 308 218 hsl 128 15 -1 1 0 0 empty empty empty -2 -8 0 10 -228856
-1 -1 0 1;
#X text 346 218 high range;
#X obj 5 408 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 5 658 cnv 3 550 3 empty empty attributes 8 12 0 13 -228856 -1
0;
#X text 154 663 @mode;
#X text 148 681 @range;
#X text 136 596 1) float;
#X text 207 682 - followed by two numbers set low and high range.;
#X text 110 438 mode <float>;
#X text 204 438 - 0 (fold) \, 1 (wrap) \, 2 (clip) & 3 (none);
#X text 204 419 - value to limit in a given range;
#X text 204 560 - original \, clipped \, wrapped \, or folded signal
;
#X text 207 664 - <fold> \, <wrap> \, <clip> & <none>: sets the object
mode;
#X text 48 94 Use the [pong~] object to fold \, wrap or clip its input
within the range of a given low and high value. Beware \, [pong~] is
very closely related to [pong] \, but doesn't work with the same messages
and default values.;
#X text 110 476 range <f \, f>;
#X text 204 477 - sets low and high values of range;
#X text 141 716 maximum range is always highest value / minimum range
is always lowest value. Wrap mode is useful for modulo arithmetic.
;
#X text 204 596 - mode: 0 (fold - default) \, 1 (wrap) \, 2 (clip)
\, 3 (none);
#X text 103 456 mode <symbol>;
#X text 20 63 Range limiter in different modes (fold \, wrap & clip)
;
#X text 203 456 - sets mode to: <fold> \, <wrap> \, <clip> or <none>
;
#X text 206 613 - low range value (default 0);
#X text 206 629 - high range value (default 1);
#X text 111 205 mode 3: none;
#X obj 152 267 cyclone/pong~ 1 -0.25 0.25;
#X obj 152 234 phasor~ 1;
#X obj 152 297 scope~ 198 100 256 3 128 -1 1 0 0 0 0 205 229 232 74
79 77 96 98 102 0;
#N canvas 439 241 715 321 (subpatch) 0;
#X obj 51 51 cnv 15 552 28 empty empty Cyclone: 6 13 0 18 -128992 -233080
0;
#X obj 217 65 cnv 5 5 5 empty empty Library 0 0 0 12 -128992 -233080
0;
#X obj 275 65 cnv 5 5 5 empty empty of 0 0 0 12 -128992 -233080 0;
#X obj 298 64 cnv 5 5 5 empty empty objects 0 0 0 12 -128992 -233080
0;
#X obj 356 64 cnv 5 5 5 empty empty cloned 0 0 0 12 -128992 -233080
0;
#X obj 406 64 cnv 5 5 5 empty empty from 0 0 0 12 -128992 -233080 0
;
#X obj 444 64 cnv 5 5 5 empty empty Max/MSP 0 0 0 12 -128992 -233080
0;
#X coords 0 -1 1 1 554 30 1 50 50;
#X restore 3 5 pd;
#N canvas 673 40 366 264 (subpatch) 0;
#X obj 51 101 tgl 42 0 \$0-tgl-s \$0-tgl-r empty 1 8 1 9 -74965 -212593
-262144 1 1;
#X obj 215 68 route dsp;
#X obj 215 37 receive pd;
#N canvas 939 367 324 271 set_color 0;
#X obj 47 30 inlet;
#X obj 96 146 s \$0-cnv;
#X msg 96 114 color -4.86997e+06 -1.34937e+07;
#N canvas 0 22 712 637 off 0;
#X obj 490 220 * -1;
#X obj 424 300 +;
#X obj 409 325 +;
#X obj 347 219 * -65536;
#X obj 424 220 * -256;
#X obj 409 356 - 1;
#X obj 390 189 unpack f f f;
#X obj 225 295 +;
#X obj 210 320 +;
#X obj 148 214 * -65536;
#X obj 225 215 * -256;
#X obj 291 215 * -1;
#X obj 210 351 - 1;
#X obj 191 184 unpack f f f;
#X obj 379 423 pack;
#X msg 378 447 color \$1 \$2;
#X msg 395 152 124 124 124;
#X msg 203 154 220 220 220;
#X obj 238 121 t b b;
#X obj 238 81 inlet;
#X obj 378 485 outlet;
#X connect 0 0 1 1;
#X connect 1 0 2 1;
#X connect 2 0 5 0;
#X connect 3 0 2 0;
#X connect 4 0 1 0;
#X connect 5 0 14 1;
#X connect 6 0 3 0;
#X connect 6 1 4 0;
#X connect 6 2 0 0;
#X connect 7 0 8 1;
#X connect 8 0 12 0;
#X connect 9 0 8 0;
#X connect 10 0 7 0;
#X connect 11 0 7 1;
#X connect 12 0 14 0;
#X connect 13 0 9 0;
#X connect 13 1 10 0;
#X connect 13 2 11 0;
#X connect 14 0 15 0;
#X connect 15 0 20 0;
#X connect 16 0 6 0;
#X connect 17 0 13 0;
#X connect 18 0 17 0;
#X connect 18 1 16 0;
#X connect 19 0 18 0;
#X restore 47 113 pd off;
#X obj 47 83 select 0 1;
#X obj 47 168 list append 0;
#X obj 47 195 list trim;
#X obj 47 220 s \$0-tgl-r;
#X connect 0 0 4 0;
#X connect 2 0 1 0;
#X connect 2 0 5 0;
#X connect 3 0 1 0;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 4 1 2 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X restore 215 165 pd set_color;
#X obj 135 122 r \$0-tgl-s;
#N canvas 0 22 450 300 (subpatch) 0;
#X obj 101 101 cnv 25 40 25 empty \$0-cnv DSP 3 13 0 20 -74965 -212593
0;
#X coords 0 -1 1 1 42 27 1 100 100;
#X restore 51 144 pd;
#X obj 226 139 s \$0-tgl-r;
#X msg 226 115 set \$1;
#X msg 135 177 \; pd dsp \$1;
#N canvas 256 32 278 194 load_check 0;
#X obj 136 53 sig~ 1;
#X obj 74 24 loadbang;
#X obj 136 86 snapshot~;
#X obj 91 52 del 5;
#X obj 136 151 outlet;
#X obj 74 103 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 74 126 switch~;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 1 0 5 0;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#X connect 3 0 5 0;
#X connect 5 0 6 0;
#X restore 51 72 pd load_check;
#X connect 1 0 3 0;
#X connect 1 0 7 0;
#X connect 2 0 1 0;
#X connect 4 0 8 0;
#X connect 4 0 3 0;
#X connect 7 0 6 0;
#X connect 9 0 0 0;
#X coords 0 -1 1 1 44 72 2 50 100;
#X restore 503 101 pd;
#X connect 17 0 56 0;
#X connect 18 0 56 2;
#X connect 19 0 56 1;
#X connect 22 0 19 0;
#X connect 26 0 27 0;
#X connect 27 0 17 0;
#X connect 32 0 18 0;
#X connect 56 0 58 0;
#X connect 57 0 56 0;
