#N canvas 583 23 561 515 10;
#X obj 2 290 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 2 390 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 2 447 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 95 299 cnv 17 3 57 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 95 362 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 95 399 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 2 486 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X text 170 300 -;
#X text 136 300 bang;
#X text 130 319 float;
#X text 136 338 list;
#X text 130 363 float;
#X text 170 401 -;
#X text 130 401 float;
#X text 112 460 1) float;
#X obj 2 4 cnv 15 553 42 empty empty empty 20 12 0 14 -233017 -66577
0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 554 42 1 0 0;
#X restore 2 3 graph;
#X obj 305 4 cnv 15 250 40 empty empty empty 12 13 0 18 -128992 -233080
0;
#N canvas 382 141 749 319 (subpatch) 0;
#X coords 0 -1 1 1 252 42 2 100 100;
#X restore 304 3 pd;
#X obj 317 211 cyclone/maximum;
#X text 170 338 - maximum number in the list is output and updates
argument;
#X obj 48 183 bng 17 250 50 0 empty empty empty 17 7 0 10 -228856 -1
-1;
#X text 185 300 resends the most recent output, f 56;
#X obj 317 244 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 308 134 find maximum in a list;
#X msg 317 157 10 5 7 2 19 8 6 4;
#X obj 85 247 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 178 164 updates argument;
#X obj 85 183 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X obj 190 183 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 77 160 to argument;
#X text 171 319 - value to compare maximum with argument or right inlet
, f 59;
#X text 170 363 - value to compare maximum with left inlet (updates
argument), f 61;
#X obj 95 423 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 130 424 float;
#X obj 85 215 cyclone/maximum 12;
#N canvas 902 233 475 319 list 0;
#X text 47 33 More about list:;
#X text 47 63 - Numbers in a list are compared with each other \, not
with the argument!;
#X obj 146 227 cyclone/maximum 1000;
#X floatatom 95 183 5 0 0 0 - - -;
#X obj 146 259 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 49 97 - The maximum number in a list is output in the left
outlet \, its index (from 0) is output in the right outlet. The next
maximum updates the argument.;
#X obj 263 258 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X msg 146 160 9 32 89 10 20 48 79 2 95 43 92;
#X msg 163 192 22 12 78 64 -32 65 -230 45;
#X connect 2 0 4 0;
#X connect 2 1 6 0;
#X connect 3 0 2 0;
#X connect 7 0 2 0;
#X connect 8 0 2 0;
#X restore 482 222 pd list;
#X msg 339 184 -5 -9 -12 -1 -3;
#X text 172 460 - value to compare maximum with (default 0), f 60
;
#X text 185 401 the maximum (greatest) value of two or more numbers
;
#X obj 190 246 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 72 144 compare float;
#X text 70 89 [maximum] outputs the maximum of two or more values in
the left outlet. The right outlet outputs the index of the maximum.
;
#X text 221 234 0: left;
#X text 221 247 1: right;
#X text 226 259 or arg;
#X obj 404 244 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 321 262 maximum;
#X text 406 262 index in the list;
#X text 170 424 - the index of the maximum value, f 61;
#X obj 17 56 cyclone/comment 0 14 DejaVu\ Sans\ Mono empty 0 0 0 0
0 255 255 255 0 0 Compare maximum;
#X obj 16 4 cyclone/comment 0 33 DejaVu\ Sans\ Mono empty 0 0 0 0 0
255 255 255 0 0 maximum;
#X obj 322 28 cyclone/comment 0 13 DejaVu\ Sans\ Mono empty 0 224 228
220 0 255 255 255 0 0 Objects cloned from Max/MSP;
#X obj 363 4 cyclone/comment 0 24 DejaVu\ Sans\ Mono empty 0 224 228
220 0 255 255 255 0 0 cyclone;
#X connect 19 0 23 0;
#X connect 19 1 46 0;
#X connect 21 0 35 0;
#X connect 25 0 19 0;
#X connect 28 0 35 0;
#X connect 29 0 35 1;
#X connect 35 0 26 0;
#X connect 35 1 40 0;
#X connect 37 0 19 0;
