[PD] [inlet], [outlet].

Marc Lavallée odradek at videotron.ca
Wed May 7 00:30:47 CEST 2003


Mathieu Bouchard wrote:
>   For example, if several connections come out of an outlet,
> connections are treated in an unspecified order.

Frank Barknecht replied :
> You're right, that this is a bit confusing. If several connections
> come out of an object, they should be considered to occur at the same
> time. For explicit ordering, the Max-languages use the [trigger]
> object.

Included is a demonstration patch that shows the problem. I thought that
messages were sent from right to left, in this very specific order, in
every situations. But in many situations, the order is from left to
right. Quite disturbing...

--
Marc

"We need not destroy the past. It is gone." (John Cage)

-------------- next part --------------
#N canvas 0 0 419 364 10;
#X obj 39 78 metro 1000;
#X obj 39 150 + 1;
#X msg 39 125 1;
#X obj 39 48 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 39 196 * 10;
#X obj 118 70 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 118 90 0;
#X floatatom 39 173 5 0 0 0 - - -;
#X obj 39 103 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 104 204 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#N canvas 532 24 277 186 addition 1;
#X obj 35 46 inlet;
#X obj 35 117 outlet;
#X obj 35 82 + 2;
#X obj 66 82 + 3;
#X obj 105 51 inlet;
#X obj 156 51 inlet;
#X obj 105 117 outlet;
#X obj 156 117 outlet;
#X obj 105 82 + 4;
#X obj 156 83 + 5;
#X connect 0 0 2 0;
#X connect 0 0 3 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 8 0;
#X connect 5 0 9 0;
#X connect 8 0 6 0;
#X connect 9 0 7 0;
#X restore 86 247 pd addition;
#X obj 39 302 print a;
#X obj 104 302 print b;
#X obj 46 247 + 1;
#X text 63 45 start here;
#X text 34 19 Order of messages is not always from right to left!;
#X connect 0 0 8 0;
#X connect 1 0 7 0;
#X connect 2 0 1 0;
#X connect 3 0 0 0;
#X connect 3 0 5 0;
#X connect 4 0 10 0;
#X connect 4 0 10 1;
#X connect 4 0 10 2;
#X connect 4 0 12 0;
#X connect 4 0 11 0;
#X connect 4 0 13 0;
#X connect 5 0 6 0;
#X connect 6 0 1 1;
#X connect 7 0 4 0;
#X connect 7 0 1 1;
#X connect 7 0 9 0;
#X connect 8 0 2 0;
#X connect 9 0 12 0;
#X connect 9 0 11 0;
#X connect 10 0 12 0;
#X connect 10 0 11 0;
#X connect 10 1 12 0;
#X connect 10 1 11 0;
#X connect 10 2 12 0;
#X connect 10 2 11 0;
#X connect 13 0 12 0;
#X connect 13 0 11 0;


More information about the Pd-list mailing list