diff options
Diffstat (limited to 'msd2D/editor')
-rw-r--r-- | msd2D/editor/morelinks.pd | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/msd2D/editor/morelinks.pd b/msd2D/editor/morelinks.pd new file mode 100644 index 0000000..c761bc8 --- /dev/null +++ b/msd2D/editor/morelinks.pd @@ -0,0 +1,90 @@ +#N canvas 225 469 129 89 10; +#N canvas 375 417 614 523 left-right-links 0; +#X msg 111 227 vnext 1; +#X obj 192 225 pointer mass; +#X obj 184 454 link2masses; +#X obj 184 423 pack p p; +#X msg 192 193 traverse pd-data \, vnext 1; +#X obj 191 150 inlet; +#X text 115 56 m1 ---> m2 ---> m3 ---> m4; +#X obj 393 207 s pd-data; +#X msg 393 186 sort; +#X text 111 18 This will walk through the selected masses from left +to right and create links between two neighbor masses like:; +#X text 113 90 Great for connecting "strings".; +#X text 427 186 first sort left to right; +#X obj 192 169 t b b b; +#X obj 192 248 t b b p; +#X obj 239 148 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 236 320 t p p; +#X msg 294 320 0; +#X obj 184 385 spigot; +#X msg 206 321 1; +#X text 258 384 Skip the first mass; +#X connect 0 0 1 0; +#X connect 1 0 13 0; +#X connect 1 1 0 0; +#X connect 3 0 2 0; +#X connect 4 0 1 0; +#X connect 5 0 12 0; +#X connect 8 0 7 0; +#X connect 12 0 4 0; +#X connect 12 1 16 0; +#X connect 12 2 8 0; +#X connect 13 0 0 0; +#X connect 13 1 18 0; +#X connect 13 2 15 0; +#X connect 14 0 12 0; +#X connect 15 0 3 1; +#X connect 15 1 17 0; +#X connect 16 0 17 1; +#X connect 17 0 3 0; +#X connect 18 0 17 1; +#X restore 126 44 pd left-right-links; +#X obj 2 19 cnv 15 120 60 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 13 29 bng 15 250 50 0 empty empty left-to-right 20 8 0 8 -241291 +-1 -1; +#N canvas 487 247 771 749 one-to-many 0; +#X obj 203 173 pointer mass; +#X obj 182 473 link2masses; +#X obj 182 442 pack p p; +#X msg 203 141 traverse pd-data \, vnext 1; +#X obj 132 337 t b p; +#X obj 69 120 inlet; +#X obj 135 310 pointer mass; +#X msg 103 276 vnext 1; +#X obj 203 196 t b p; +#X obj 69 178 t b b; +#X msg 134 242 traverse pd-data; +#X obj 274 378 outlet; +#X msg 274 325 label one2many-Start; +#X msg 281 351 label one2many-Ends; +#X obj 69 146 select 0 1; +#X connect 0 0 8 0; +#X connect 2 0 1 0; +#X connect 3 0 0 0; +#X connect 4 0 7 0; +#X connect 4 1 2 0; +#X connect 5 0 14 0; +#X connect 6 0 4 0; +#X connect 6 1 7 0; +#X connect 6 2 12 0; +#X connect 7 0 6 0; +#X connect 8 0 13 0; +#X connect 8 1 2 1; +#X connect 9 0 7 0; +#X connect 9 1 10 0; +#X connect 10 0 6 0; +#X connect 12 0 11 0; +#X connect 13 0 11 0; +#X connect 14 0 9 0; +#X connect 14 1 3 0; +#X restore 128 71 pd one-to-many; +#X obj 12 56 tgl 15 0 empty empty one2many-Start 20 8 0 8 -262131 -1 +-1 0 1; +#X connect 2 0 0 0; +#X connect 3 0 4 0; +#X connect 4 0 3 0; +#X coords 0 0 1 1 200 140 1; |