#N canvas 15 22 668 445 10; #X obj -10 -33 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 1; #X floatatom 13 309 5 0 0 0 - - -; #X floatatom 90 309 5 0 0 0 - - -; #X floatatom 52 308 5 0 0 0 - - -; #X floatatom 16 9 5 0 0 0 - - -; #X floatatom 88 9 5 0 0 0 - - -; #X floatatom 52 9 5 0 0 0 - - -; #X text 11 -35 On/Off; #X text 11 323 CtlVal; #X text 51 324 CtlNr; #X text 89 323 Chan; #X obj -6 341 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 1; #X text 14 340 On/Off; #X obj 122 363 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 -1; #X obj 122 -35 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 -1; #X obj 200 -10 s \$0lb; #X obj 200 -35 loadbang; #X obj 181 -35 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 -1; #X text 148 -36 Init; #X obj -10 -13 mmu_CtlFromWorld; #N canvas 98 22 1161 169 ControllerBox 1; #X obj 8 5 mmu_SwMultiController; #X restore 262 -35 pd ControllerBox; #X obj -7 360 mmu_CtlToWorld; #X text 14 24 CtlVal; #X text 54 25 CtlNr; #X text 92 24 Chan; #X obj -6 286 mmu_CtlBusRx 999; #X obj 200 265 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 -1; #X obj 192 331 print Packout:; #X floatatom 260 267 5 0 0 0 - - -; #X floatatom 294 267 5 0 0 0 - - -; #X floatatom 330 267 5 0 0 0 - - -; #X floatatom 264 309 5 0 0 0 - - -; #X floatatom 300 309 5 0 0 0 - - -; #X floatatom 336 310 5 0 0 0 - - -; #X msg 222 216 LEARN; #X msg 234 242 127 34 1; #X text 315 240 Set the Values trhrough List or as single Int's; #X text 143 50 - Controller Value (CtlVal) - Controller Nr. (CtlNr) - Channel; #X text 148 32 A ControllerPacket (CtlPack) holds 3 informations:; #X obj -10 42 mmu_CtlBusTx 0; #X obj 222 286 mmu_CtlPack 33 56 16; #X text 145 162 The right inlets are cold. The leftmost inlet is sets the CtlPack by receiving a list and flushes right after. The Pack can be flushed anytime by sending a bang.; #X text 143 89 MIDI LEARN MODE The Values can be set receiving some input from the mmu Midi input Bus (mmu_RxCtl) After it received one packet it saves this packet and returns to normal mode.; #X text 373 281 Outlet Flush-order is from guaranteed to be from right to left.; #X connect 0 0 19 0; #X connect 11 0 21 0; #X connect 14 0 13 0; #X connect 16 0 15 0; #X connect 17 0 15 0; #X connect 19 0 39 0; #X connect 19 1 4 0; #X connect 19 2 6 0; #X connect 19 3 5 0; #X connect 25 0 21 0; #X connect 25 1 1 0; #X connect 25 2 3 0; #X connect 25 3 2 0; #X connect 26 0 40 0; #X connect 28 0 40 1; #X connect 29 0 40 2; #X connect 30 0 40 3; #X connect 34 0 40 0; #X connect 35 0 40 0; #X connect 40 0 27 0; #X connect 40 1 31 0; #X connect 40 2 32 0; #X connect 40 3 33 0;