Hello all,
I have been working on creating Abstractions that allow me to group a
set of line objects that are used to control various parameters via
messages. I group all these things together because they all share the
same line time/rate.
So, I have an instrument that has many parameters that all have
"message" destination points. I would like to use my line control groups
to send to different parameters. Is there a way to, within an
abstraction, to dynamically change the destinations of a send object?
I have attached two versions of what I have. Any comments and/or
suggestions would be very helpful and appreciated.
Mike
#N canvas 756 329 470 320 10;
#X obj 53 24 inlet;
#X floatatom 128 120 10 0 0 1 level1 - -;
#X floatatom 128 172 10 0 0 1 level2 - -;
#X obj 53 87 f 0;
#X obj 53 118 pack 0 0;
#X obj 135 69 tgl 15 0 empty empty spigot 0 -6 32 8 -262144 -1 -1 0
1;
#X obj 53 54 spigot;
#X obj 53 149 line 0 \$1;
#X obj 53 180 s \$2-adj;
#X obj -6 87 delay 0;
#X obj -6 218 outlet;
#X obj 93 24 inlet;
#X obj 133 24 inlet;
#X obj 173 24 inlet;
#X floatatom 128 224 10 0 0 1 rate - -;
#X obj 256 87 f 0;
#X obj 256 118 pack 0 0;
#X obj 256 149 line 0 \$1;
#X obj 256 180 s \$3-adj;
#X obj 235 7 loadbang;
#X msg 235 26 1;
#X connect 0 0 6 0;
#X connect 1 0 3 1;
#X connect 2 0 15 1;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 6 1;
#X connect 6 0 3 0;
#X connect 6 0 9 0;
#X connect 6 0 15 0;
#X connect 7 0 8 0;
#X connect 9 0 10 0;
#X connect 11 0 1 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 9 1;
#X connect 14 0 4 1;
#X connect 14 0 16 1;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 19 0 20 0;
#X connect 20 0 5 0;
#X coords 0 0 1 1 200 140 1;
#N canvas 756 329 474 324 10;
#X obj 53 24 inlet;
#X floatatom 128 120 10 0 0 1 level1 - -;
#X floatatom 128 172 10 0 0 1 level2 - -;
#X obj 53 87 f 0;
#X obj 53 118 pack 0 0;
#X obj 135 69 tgl 15 0 empty empty spigot 0 -6 32 8 -262144 -1 -1 0
1;
#X obj 53 54 spigot;
#X obj 53 149 line 0 \$1;
#X obj 53 180 s \$2-adj;
#X obj -6 87 delay 0;
#X obj -6 218 outlet;
#X obj 93 24 inlet;
#X obj 133 24 inlet;
#X obj 173 24 inlet;
#X obj 256 87 f 0;
#X obj 256 118 pack 0 0;
#X obj 256 149 line 0 \$1;
#X obj 256 180 s \$3-adj;
#X floatatom 128 224 10 0 0 1 level3 - -;
#X floatatom 128 276 10 0 0 1 rate - -;
#X obj 343 87 f 0;
#X obj 343 118 pack 0 0;
#X obj 343 149 line 0 \$1;
#X obj 213 24 inlet;
#X obj 343 180 s \$4-adj;
#X obj 261 5 loadbang;
#X msg 261 24 1;
#X connect 0 0 6 0;
#X connect 1 0 3 1;
#X connect 2 0 14 1;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 6 1;
#X connect 6 0 3 0;
#X connect 6 0 9 0;
#X connect 6 0 14 0;
#X connect 6 0 20 0;
#X connect 7 0 8 0;
#X connect 9 0 10 0;
#X connect 11 0 1 0;
#X connect 12 0 2 0;
#X connect 13 0 18 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 18 0 20 1;
#X connect 19 0 9 1;
#X connect 19 0 4 1;
#X connect 19 0 15 1;
#X connect 19 0 21 1;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 24 0;
#X connect 23 0 19 0;
#X connect 25 0 26 0;
#X connect 26 0 5 0;
#X coords 0 0 1 1 200 140 1;