I think I already answered almost that same exact question from you in another thread not so long ago.
http://www.djtechtools.com/forum/showthread.php?t=19005
But mixing the two threads together: if you plan to use the modifier I suggested you don't need deck focus select and you don't need it to light up the pipes. The problem with deck focus select is that it has always a value (0 from 3, 0 being something: deck A): ie in this system , if set properly, a led would always be lit.
If you want to use deck focus select anyway, I just gave you the way to do it:
that's 4 commands to 4 different midi notesthat translates:
Out deck focus select:
for deck focus A button 1 :controller range 0-0 / midi range 0-127
for deck focus B button 2 :controller range 1-1 / midi range 0-127
for deck focus C button 3 :controller range 2-2 / midi range 0-127
for deck focus D button 4 :controller range 3-3 / midi range 0-127
Remember also that 'deck focus select is a kind of additional built-in modifier in a way in fact, the only difference is that it translates its states or conditions with the ASSIGNMENTS.
So either you use deck focus select but that ruins a bit your starting idea for the 3 rows of buttons (being obliged to hold one button to select a deck - once again not something deck focus select can do as it will be like one of your button would always be on hold - or better you use the modifier seen together in the previous thread. In this last case, the commands to light the pipes would be a modifier 'X' output, not a 'deck focus select' one.
that would translate to for the first light pipe:
modifier X output command with modifier condition
when modif=0: 0-0 /0-0 (no button hold)
when modif=1: 1-1/127-127 ('deck a' is hold)
when modif=2: 2-2/0-0 (unlit)
when modif=3: 3-3/0-0 (unlit)
when modif=4: 4-4/0-0 (unlit)
now reproduce the mapping for the second light pipe, switching the range 127-127 accordingly to the position of the led (ie it will be lit when modif 2-2, 127-127). and then the other two, doing the same.
I'm detailing a bit on purpose. That's 5 commands X 4 different mid notes =20 commands in total (for the outputs)

Reply With Quote
Bookmarks