Hi Claude,
Luke Iannini (pd) wrote:
> [nreceive $0my6sends 6] (with no number argument it will default to
> acting like a normal send or receive object).
I already made an [nreceive] abstraction for my personal use, maybe it's
different from yours? See attached.
Claude
--
http://claudiusmaximus.goto10.org
#N canvas 0 0 368 144 10;
#N canvas 0 0 450 300 \$0-receivers 0;
#X restore 12 13 pd \$0-receivers;
#X obj 12 54 outlet;
#X obj 12 34 r \$0-from-receivers;
#N canvas 223 157 443 424 \$0-constructor 0;
#X obj 13 16 inlet;
#X obj 13 168 f \$2;
#X obj 13 79 f \$3;
#X obj 13 105 until;
#X obj 90 178 + 1;
#X obj 13 222 makefilename \$1;
#X obj 13 48 t b b b;
#X obj 95 81 f \$0;
#X obj 95 107 makefilename pd-%d-receivers;
#X obj 13 324 send;
#X obj 13 192 t f f f;
#X obj 13 257 pack s f s;
#X obj 78 135 symbol \$0-from-receivers;
#X msg 13 292 obj 10 10 nreceive-abs \$1 \$2 \$3;
#X connect 0 0 6 0;
#X connect 1 0 10 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 4 0 1 1;
#X connect 5 0 11 0;
#X connect 6 0 2 0;
#X connect 6 1 12 0;
#X connect 6 2 7 0;
#X connect 7 0 8 0;
#X connect 8 0 9 1;
#X connect 10 0 5 0;
#X connect 10 1 11 1;
#X connect 10 2 4 0;
#X connect 11 0 13 0;
#X connect 12 0 11 2;
#X connect 13 0 9 0;
#X restore 13 114 pd \$0-constructor;
#X obj 13 88 loadbang;
#X connect 2 0 1 0;
#X connect 4 0 3 0;
#N canvas 0 0 313 125 10;
#X obj 14 18 r \$1;
#X obj 14 38 list prepend \$2;
#X obj 14 58 list trim;
#X obj 14 78 s \$3;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#N canvas 0 0 450 300 10;
#X obj 26 47 s \$0-0-r;
#X obj 96 47 s \$0-1-r;
#X obj 166 47 s \$0-2-r;
#X floatatom 26 26 5 0 0 0 - - -;
#X floatatom 96 26 5 0 0 0 - - -;
#X floatatom 166 26 5 0 0 0 - - -;
#X floatatom 36 225 5 0 0 0 - - -;
#X floatatom 100 225 5 0 0 0 - - -;
#X obj 76 182 route 0 1 2;
#X floatatom 160 225 5 0 0 0 - - -;
#X obj 76 141 nreceive \$0-%d-r 0 3;
#X text 12 122 arguments are: sender-pattern start-number count;
#X text 13 70 really you would use the GUI send-name field \, but this
is a help patch;
#X connect 3 0 0 0;
#X connect 4 0 1 0;
#X connect 5 0 2 0;
#X connect 8 0 6 0;
#X connect 8 1 7 0;
#X connect 8 2 9 0;
#X connect 10 0 8 0;
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list