#N canvas 567 111 847 810 12;
#X floatatom 218 329 5 36 144 0 - - -, f 5;
#X obj 218 350 t b f;
#X obj 218 374 f;
#X obj 218 398 + 1;
#X obj 218 422 mod 16;
#X obj 218 446 pack;
#X msg 327 422 next \$1;
#X floatatom 327 402 5 36 144 0 - - -, f 5;
#X floatatom 327 452 5 36 144 0 - - -, f 5;
#X msg 327 471 this \$1;
#X floatatom 326 499 5 36 144 0 - - -, f 5;
#X msg 326 518 set \$1;
#X msg 80 397 vis 5 1;
#X msg 79 425 vis 5 0;
#X floatatom 325 545 5 36 144 0 - - -, f 5;
#X msg 325 566 all \$1;
#X obj 178 662 ../3.audio.examples/output~;
#X text 597 749 updated for Pd version 0.47;
#X text 496 579 creation arguments:;
#X text 26 610 click to open ->;
#X text 14 632 (first copy only);
#X text 67 351 open or close copy number 5:, f 14;
#X text 276 326 A list beginning with a number dispatches the rest
of the list as a message, f 23;
#X text 403 392 "next" forwards a message to the next instance (incrementing
and repeating circularly)., f 33;
#X text 407 445 "this" forwards a message to the previous instance
sent to by "this" or "next", f 30;
#X text 391 500 "set" sets the "next"/"this" counter;
#X text 386 546 "all" broadcasts a message to all instances;
#X text 24 8 clone - make multiple copies of a patch;
#X text 20 170 clone's inlets and outlets correspond to those of the
contained patch \, and may be signal and/or control inlets and outlets.
(In this example there's one control inlet and one signal outlet).
You can click on the clone~ object to see the first of the created
instances., f 72;
#X text 19 247 Signal inlets are copied to all the instances. Control
inlets forward messages as shown below. Signal outlets output the sum
of all instances' outputs \, and control outlets forward messages with
the number of the instance prepended to them., f 67;
#X text 418 605 optional "-s #" to set starting voice number \; optional
-x to avoid setting \$1 to voice number \; filename \; number of copies
\; optional arguments to copies;
#X text 21 36 clone creates any number of copies of a desired abstraction
(a patch loaded as an object in another patch). Within each copy \,
"\$1" is set to the instance number. (These count from 0 unless overridden
by the "-s" option in the creation arguments. You can avoid this behavior
using the "-x" option.), f 71;
#X text 23 129 You can pass additional arguments to the copies that
appear as \$2 and onward (or \$1 and onward with "-x" option)., f
71;
#X obj 179 609 clone clone-abstraction 16;
#X text 30 734 note: for backward compatibility \, you can also invoke
this as "clone 16 clone-abstraction" (for instance) \, swapping the
abstraction name and the number of voices.;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 1 5 1;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 2 1;
#X connect 4 0 5 0;
#X connect 5 0 33 0;
#X connect 6 0 33 0;
#X connect 7 0 6 0;
#X connect 8 0 9 0;
#X connect 9 0 33 0;
#X connect 10 0 11 0;
#X connect 11 0 33 0;
#X connect 12 0 33 0;
#X connect 13 0 33 0;
#X connect 14 0 15 0;
#X connect 15 0 33 0;
#X connect 33 0 16 0;
#X connect 33 0 16 1;