[PD] variable list lenght send with variable send names

Frank Barknecht fbar at footils.org
Mon Jul 21 14:22:32 CEST 2003


Hallo,
noskule at gmx.net hat gesagt: // noskule at gmx.net wrote:

> dos anyone now an object ore a method with witch it is possible to send
> lists with variable lenghts to variable receivers.
> the send object in pd dosent le my change its argument, and the msgobject
> need a fixed($1 $2 . ..) listlenght. 

See attached patch for the ;-trick, that lets you change send
destinations on the fly. Variable list length isn't really possible.
You can trick around with "prepend" or "glue" but you will also need a
variable receiver. I've no idea how to build that.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__
-------------- next part --------------
#N canvas 0 0 574 482 10;
#X obj 127 109 symbol first;
#X obj 218 108 symbol second;
#X obj 319 108 symbol third;
#X obj 134 81 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 219 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 323 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 113 243 r first;
#X msg 191 175 \; \$1 12345;
#X obj 168 245 r second;
#X obj 235 246 r third;
#X floatatom 114 274 5 0 0 0 - - -;
#X floatatom 162 278 5 0 0 0 - - -;
#X floatatom 238 277 5 0 0 0 - - -;
#X connect 0 0 7 0;
#X connect 1 0 7 0;
#X connect 2 0 7 0;
#X connect 3 0 0 0;
#X connect 4 0 1 0;
#X connect 5 0 2 0;
#X connect 6 0 10 0;
#X connect 8 0 11 0;
#X connect 9 0 12 0;


More information about the Pd-list mailing list