1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
#N canvas 366 69 562 589 10;
#X obj 2 363 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 463 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 2 520 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 95 372 cnv 17 3 57 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 95 435 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 95 472 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 2 559 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X text 170 373 -;
#X text 136 373 bang;
#X text 130 392 float;
#X text 136 411 list;
#X text 130 436 float;
#X text 170 474 -;
#X text 130 474 float;
#X text 112 533 1) float;
#X obj 48 197 bng 17 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000;
#X text 185 373 resends the most recent output, f 56;
#X obj 317 262 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X msg 317 175 10 5 7 2 19 8 6 4;
#X obj 85 261 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 178 180 updates argument;
#X obj 85 197 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 190 199 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 72 158 compare float;
#X text 77 174 to argument;
#X obj 95 496 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 130 497 float;
#N canvas 592 144 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 floatatom 95 183 5 0 0 0 - - - 0;
#X obj 146 259 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 269 258 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 49 97 - The minimum number in a list is output in the left outlet \, its index (from 0) is output in the right outlet. The next minimum updates the argument.;
#X obj 146 227 cyclone/minimum -1000;
#X msg 163 192 22 12 78 64 -32 65 -230 45;
#X msg 146 160 9 32 89 10 20 48 79 2 95 3 92;
#X connect 2 0 6 0;
#X connect 6 0 3 0;
#X connect 6 1 4 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X restore 476 244 pd list;
#X obj 85 229 cyclone/minimum 12;
#X text 311 149 find minimum in a list;
#X obj 317 229 cyclone/minimum;
#X msg 339 202 -5 -9 -12 -1 -3;
#X text 171 392 - value to compare minimum with argument or right inlet, f 59;
#X text 170 411 - minimum number in the list is output and updates argument;
#X text 170 436 - value to compare minimum with left inlet (updates argument), f 61;
#X text 172 533 - value to compare minimum with (default 0), f 60;
#X text 185 474 the minimum (smallest) value of two or more numbers;
#X obj 190 259 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 221 247 0: left;
#X text 221 260 1: right;
#X text 226 272 or arg;
#X obj 404 257 nbx 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 406 275 index in the list;
#X text 170 497 - the index of the minimnum value, f 61;
#X obj 3 3 ./header minimum;
#X text 22 56 Compare minimum;
#X text 35 320 see also:;
#X text 226 319 and;
#X text 369 319 as Vanilla alternatives;
#X text 284 319 /;
#X obj 102 320 cyclone/maximum;
#X obj 255 320 min;
#X obj 303 320 array min;
#X text 62 87 [minimum] outputs the minimum of two or more values. The right outlet outputs the index of the minimum. If given a float \, it can compare to a 2nd value in the right inlet or argument. If given a list \, the minimum of the list is given., f 71;
#X connect 15 0 28 0;
#X connect 18 0 30 0;
#X connect 21 0 28 0;
#X connect 22 0 28 1;
#X connect 28 0 19 0;
#X connect 28 1 37 0;
#X connect 30 0 17 0;
#X connect 30 1 41 0;
#X connect 31 0 30 0;
|