#N canvas 46 0 725 643 10; #X floatatom 259 -163 5 0 0 0 - - -; #X obj 158 -166 PB_01; #X obj 124 -192 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 161 201 ctlout; #X floatatom 206 53 5 0 0 1 #TrackNum_Global #TrackNum -; #X obj 207 97 + 16; #X obj 161 136 pack \$1 \$2 28; #X obj 161 97 f; #X obj 208 -115 metro 500; #X text 247 93 Actual CC number is $Track_Number_Global + 16; #X text -38 -167 Either AA or AB pedal down will fire metro. Ped up will stop.; #X text -39 -31 Only fire cc when ped held down 127 for AA (1) \, 0 for AB action; #X obj 211 -25 f 127; #X obj 356 -24 f 0; #X obj 402 172 bng 15 250 50 0 empty empty Debug_-_Output 0 -6 0 8 -262144 -1 -1; #X obj 406 -112 bng 15 250 50 0 empty empty Debug_-_Metro 0 -6 0 8 -262144 -1 -1; #X obj 402 193 print; #X obj 159 -25 spigot; #X obj 306 -24 spigot; #X text 218 -4 Inc; #X text 357 -4 Dec; #X text 293 -79 Use Logic 0/1 to gate spigot/Inc/Dec output; #X text 348 51 This is the currently selected Track Number; #X connect 0 0 8 1; #X connect 1 0 8 0; #X connect 1 0 17 1; #X connect 1 2 8 0; #X connect 1 2 18 1; #X connect 2 0 1 0; #X connect 4 0 7 1; #X connect 5 0 6 1; #X connect 6 0 3 0; #X connect 6 0 14 0; #X connect 6 0 16 0; #X connect 7 0 5 0; #X connect 8 0 15 0; #X connect 8 0 17 0; #X connect 8 0 18 0; #X connect 12 0 6 0; #X connect 13 0 6 0; #X connect 17 0 12 0; #X connect 18 0 13 0;