#N canvas 491 23 562 656 10;
#X obj 5 626 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 5 316 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 429 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 5 474 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 94 323 cnv 17 3 50 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 93 443 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 162 380 float;
#X obj 94 403 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 94 379 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 162 404 float;
#X floatatom 313 229 8 -100 100 0 - - - 0;
#X text 142 481 1) float;
#X text 142 499 2) float;
#X obj 5 526 cnv 3 550 3 empty empty attributes 8 12 0 13 #dcdcdc #000000 0;
#X text 216 379 - set low value of range;
#X text 217 404 - set high value of range;
#X text 214 443 - original \, clipped \, wrapped \, or folded number;
#X text 133 443 float/list;
#X msg 193 178 range -0.5 0.5;
#X text 209 499 - high range value (default 0);
#X text 209 481 - low range value (default 0);
#X text 215 323 - value(s) to clip \, fold or wrap;
#X obj 162 231 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X msg 57 103 none;
#X obj 131 133 symbol;
#X msg 131 177 mode \$1;
#X msg 93 103 clip;
#X msg 169 103 wrap;
#X msg 131 103 fold;
#X symbolatom 131 155 8 0 0 0 - - - 0;
#X obj 162 204 trigger b a;
#X text 70 176 set mode;
#X text 285 178 set range;
#X text 308 209 low range;
#X text 399 210 high range;
#X obj 225 287 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 158 534 @mode;
#X text 152 552 @range;
#X text 209 551 - followed by two numbers set low and high range.;
#X text 209 533 - <fold> \, <wrap> \, <clip> & <none>: sets the object mode;
#X text 115 338 mode <symbol>;
#X text 121 353 range <f \, f>;
#X text 215 338 - sets mode to: none (default) \, clip \, wrap or fold;
#X text 215 355 - sets low and high values of range;
#X obj 4 575 cnv 3 550 3 empty empty more_info 8 12 0 13 #dcdcdc #000000 0;
#X obj 225 257 cyclone/pong -10 10 @mode wrap;
#N canvas 993 192 302 189 lists 0;
#X obj 55 38 loadbang;
#X obj 55 92 cyclone/pong 0 10 @mode wrap;
#X msg 55 64 15 -1 20;
#X listbox 55 121 10 0 0 0 - - - 0;
#X text 124 36 example with lists containing more than one element., f 18;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
#X restore 483 273 pd lists;
#X text 229 104 Use [pong] to fold \, wrap or clip its input within a given low-high range., f 38;
#X text 140 581 maximum range is always the highest value & minimum range is always the lowest value. Wrap mode is useful for modulo arithmetic.;
#X floatatom 402 229 8 -100 100 0 - - - 0;
#X text 169 323 list;
#X obj 2 2 ./header pong;
#X text 23 62 Range limiter (fold \, wrap & clip);
#X connect 10 0 45 1;
#X connect 18 0 30 0;
#X connect 22 0 45 0;
#X connect 23 0 24 0;
#X connect 24 0 29 0;
#X connect 25 0 30 0;
#X connect 26 0 24 0;
#X connect 27 0 24 0;
#X connect 28 0 24 0;
#X connect 29 0 25 0;
#X connect 30 0 22 0;
#X connect 30 1 45 0;
#X connect 45 0 35 0;
#X connect 49 0 45 2;
