annotate projects/heavy/pd/hello-midi/maxArray.pd @ 269:ac8eb07afcf5

Oxygen text added to each render.cpp file for the default projects. Text includes project explanation from Wiki, edited in places. Empty project added as a default project. Doxyfile updated. Each of the project locations added to INPUT configuration option. Consider just watching the whole project file so all new projects are automatically pulled through.
author Robert Jack <robert.h.jack@gmail.com>
date Tue, 17 May 2016 15:40:16 +0100
parents e90df8c5669f
children
rev   line source
giuliomoro@205 1 #N canvas 464 23 1002 583 10;
giuliomoro@205 2 #X obj 224 202 max;
giuliomoro@205 3 #X obj 265 200 f;
giuliomoro@205 4 #X obj 223 229 change;
giuliomoro@205 5 #X obj 223 251 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@205 6 -1 -1;
giuliomoro@205 7 #X obj 223 271 f;
giuliomoro@205 8 #X obj 259 323 f;
giuliomoro@205 9 #X obj 187 315 f;
giuliomoro@205 10 #X obj 268 282 t b b;
giuliomoro@205 11 #X obj 183 364 outlet;
giuliomoro@205 12 #X obj 269 379 outlet;
giuliomoro@205 13 #X obj 179 17 inlet;
giuliomoro@205 14 #X obj 225 177 tabread \$1;
giuliomoro@205 15 #X obj 230 88 t f f b;
giuliomoro@205 16 #X text 376 37 Finds a maximum value in an array;
giuliomoro@205 17 #X text 531 112 \$2 arrayLength;
giuliomoro@205 18 #X obj 292 10 inlet;
giuliomoro@205 19 #X text 425 146 inlets:;
giuliomoro@205 20 #X text 473 144 1 bang to find the maximum;
giuliomoro@205 21 #X text 475 157 2 arrayLength;
giuliomoro@205 22 #X text 407 90 creation arguments: \$1 arrayName;
giuliomoro@205 23 #X obj 246 38 \$2;
giuliomoro@205 24 #X obj 202 40 bang;
giuliomoro@205 25 #X obj 230 65 f;
giuliomoro@205 26 #X obj 224 6 loadbang;
giuliomoro@205 27 #X text 444 216 outlets: 1 maximum value;
giuliomoro@205 28 #X text 498 231 2 index of the maximum value;
giuliomoro@205 29 #X msg 276 141 -1e+15;
giuliomoro@205 30 #X obj 222 142 t f f f;
giuliomoro@205 31 #X floatatom 158 266 5 0 0 0 - - -, f 5;
giuliomoro@205 32 #X obj 332 302 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
giuliomoro@205 33 -1 -1;
giuliomoro@205 34 #X obj 288 253 select 127;
giuliomoro@205 35 #X floatatom 301 324 5 0 0 0 - - -, f 5;
giuliomoro@205 36 #X text 362 256 heavy does not support the second inlet of select so
giuliomoro@205 37 I have to hard code 127 in here;
giuliomoro@205 38 #X obj 223 110 countTo;
giuliomoro@205 39 #X connect 0 0 1 0;
giuliomoro@205 40 #X connect 0 0 2 0;
giuliomoro@205 41 #X connect 0 0 6 1;
giuliomoro@205 42 #X connect 0 0 28 0;
giuliomoro@205 43 #X connect 1 0 0 1;
giuliomoro@205 44 #X connect 2 0 3 0;
giuliomoro@205 45 #X connect 3 0 4 0;
giuliomoro@205 46 #X connect 4 0 5 1;
giuliomoro@205 47 #X connect 4 0 31 0;
giuliomoro@205 48 #X connect 5 0 9 0;
giuliomoro@205 49 #X connect 6 0 8 0;
giuliomoro@205 50 #X connect 7 0 6 0;
giuliomoro@205 51 #X connect 7 1 5 0;
giuliomoro@205 52 #X connect 10 0 21 0;
giuliomoro@205 53 #X connect 11 0 0 0;
giuliomoro@205 54 #X connect 12 0 33 0;
giuliomoro@205 55 #X connect 12 2 26 0;
giuliomoro@205 56 #X connect 15 0 22 1;
giuliomoro@205 57 #X connect 20 0 22 1;
giuliomoro@205 58 #X connect 21 0 22 0;
giuliomoro@205 59 #X connect 22 0 12 0;
giuliomoro@205 60 #X connect 23 0 20 0;
giuliomoro@205 61 #X connect 26 0 0 1;
giuliomoro@205 62 #X connect 27 0 30 0;
giuliomoro@205 63 #X connect 27 1 11 0;
giuliomoro@205 64 #X connect 27 2 4 1;
giuliomoro@205 65 #X connect 30 0 7 0;
giuliomoro@205 66 #X connect 30 0 29 0;
giuliomoro@205 67 #X connect 33 0 27 0;