#N canvas 495 282 589 268 10; #X obj 89 39 \$1; #X obj 118 39 \$2; #X obj 146 40 \$3; #X obj 87 14 loadbang; #X obj 21 17 inlet val; #X obj 93 96 i; #X obj 123 96 i; #X obj 153 96 i; #X obj 21 42 i; #X obj 21 205 outlet sysex_msg; #X obj 21 146 pack f f f f; #X obj 21 65 t f b; #X text 188 39 \$1=Channel \, \$2=cc# \, \$3=Source_num; #X text 188 16 Read arguments upon loading; #X text 191 97 Only send arguments to pack when the val inlet changes and make sure they are shipped off to [pack] before val (which will trigger the pack output); #X text 115 147 Output a list of val channel cc# source_num in that order; #X text 219 178 $signs in messages don't refer to patch arguments \, they refer to the position in the list the message recieves \, hence val is now \$1 etc; #X msg 21 180 240 64 \$2 16 0 3 \$3 \$4 \$1 247; #X connect 0 0 5 1; #X connect 1 0 6 1; #X connect 2 0 7 1; #X connect 3 0 2 0; #X connect 3 0 1 0; #X connect 3 0 0 0; #X connect 4 0 8 0; #X connect 5 0 10 1; #X connect 6 0 10 2; #X connect 7 0 10 3; #X connect 8 0 11 0; #X connect 10 0 17 0; #X connect 11 0 10 0; #X connect 11 1 7 0; #X connect 11 1 6 0; #X connect 11 1 5 0; #X connect 17 0 9 0;