So, I have an NSFX map that I have used for about 2 monts jsut fine.
Source A = Deck 1 & 2 with Effect and samples (simlar to old way, accept that the right deck is on A to control deck 2)
Source B = Set to do nothing until VDJ 7
Source Aux = Video (as it did before)
Source Main = Loop (as it did before)
Now what I want to do is use these source knobs to shift all controls of the NS7 and NSFX to control decks 3 & 4 when turned to Source B. I have it working 90% with the following commands.
Source A = action_deck 1 ? set "modeA" 1 & deck 3 leftdeck ? deck 1 leftdeck : set "modeB" 1 & deck 4 leftdeck ? deck 2 rightdeck
Source B = set "FX" 0 & action_deck 1 ? set "modeA" 2 & deck 1 leftdeck ? deck 3 leftdeck : set "modeB" 2 & deck 2 rightdeck ? deck 4 rightdeck
Source Aux = action_deck 1 ? set "modeA" 3 & deck 3 leftdeck ? deck 1 leftdeck : set "modeB" 3 & deck 4 leftdeck ? deck 2 rightdeck
The bold text is what I added. I also tried it without the "deck # leftdeck ?" or "deck # rightdeck ?" questions and got the same result. Which is, it does shift the left and right decks to do what I need (Source A = 1&2, Source B = 3&4) on both the NS7 and the NSFX. BUT, as soon as I added that bold text, all the NSFX buttons and knobs do not work like they use to or should.
The results I get with the buttons and knobs now (with the above bold added) is:
Source A = Deck 1 & 2 no effect or sample control at all
Source B = Deck 3 & 4 with Deck 1&2 effect control, no sample access
Source Aux = Video No button or knob response at all on the NSFX
Source Main = Loop No button or knob response at all on the NSFX
I remapped the lights on the NSFX and when the knobs change, the lights do what I told them to do. Showing that it is working, so I also made these source knobs change skin panels (like Aux, would change to the video panel in the skin) and that all works as well. It is is just all the rest of the NSFX buttons and knobs do not function like they did before my deck 3&4 commands on Soucrce spot A, B and Aux.
Sorry it is so much info, any ideas? Did I do the deck shift wrong? Well, I guess I know I did it wrong some how because I started from scratch with my old working map. Used VDJ 7 with old map and it functioned the same way it did with VDJ 6. This time it borke when I added the commands to just the source knobs. Hope this make sense, thanks.
Source A = Deck 1 & 2 with Effect and samples (simlar to old way, accept that the right deck is on A to control deck 2)
Source B = Set to do nothing until VDJ 7
Source Aux = Video (as it did before)
Source Main = Loop (as it did before)
Now what I want to do is use these source knobs to shift all controls of the NS7 and NSFX to control decks 3 & 4 when turned to Source B. I have it working 90% with the following commands.
Source A = action_deck 1 ? set "modeA" 1 & deck 3 leftdeck ? deck 1 leftdeck : set "modeB" 1 & deck 4 leftdeck ? deck 2 rightdeck
Source B = set "FX" 0 & action_deck 1 ? set "modeA" 2 & deck 1 leftdeck ? deck 3 leftdeck : set "modeB" 2 & deck 2 rightdeck ? deck 4 rightdeck
Source Aux = action_deck 1 ? set "modeA" 3 & deck 3 leftdeck ? deck 1 leftdeck : set "modeB" 3 & deck 4 leftdeck ? deck 2 rightdeck
The bold text is what I added. I also tried it without the "deck # leftdeck ?" or "deck # rightdeck ?" questions and got the same result. Which is, it does shift the left and right decks to do what I need (Source A = 1&2, Source B = 3&4) on both the NS7 and the NSFX. BUT, as soon as I added that bold text, all the NSFX buttons and knobs do not work like they use to or should.
The results I get with the buttons and knobs now (with the above bold added) is:
Source A = Deck 1 & 2 no effect or sample control at all
Source B = Deck 3 & 4 with Deck 1&2 effect control, no sample access
Source Aux = Video No button or knob response at all on the NSFX
Source Main = Loop No button or knob response at all on the NSFX
I remapped the lights on the NSFX and when the knobs change, the lights do what I told them to do. Showing that it is working, so I also made these source knobs change skin panels (like Aux, would change to the video panel in the skin) and that all works as well. It is is just all the rest of the NSFX buttons and knobs do not function like they did before my deck 3&4 commands on Soucrce spot A, B and Aux.
Sorry it is so much info, any ideas? Did I do the deck shift wrong? Well, I guess I know I did it wrong some how because I started from scratch with my old working map. Used VDJ 7 with old map and it functioned the same way it did with VDJ 6. This time it borke when I added the commands to just the source knobs. Hope this make sense, thanks.
Inviato Thu 14 Oct 10 @ 11:19 am
So I have a simpler method out ther for everybody. I used the fader start switches to changes decks because I have never used them. The scripting is as follows:
FADER_START = action_deck 1 ? down ? deck 3 select & deck 3 leftdeck & set "modedeck" 1 : deck 1 select & deck 1 leftdeck & set "modedeck" 0 : action_deck 2 ? down ? deck 4 select & deck 4 rightdeck & set "modedeck" 1 : deck 2 select & deck 2 rightdeck & set "modedeck" 0
As an indicator, I also stole the stats LEDs for switch position feedback. They should blink fast when NOT on the normal deck 1 and 2.
LED_FADER_START = var_equal "modedeck" 0 ? blink 500ms : var_equal "modedeck" 1 ? off
Think this was the better route. Enjoy!
FADER_START = action_deck 1 ? down ? deck 3 select & deck 3 leftdeck & set "modedeck" 1 : deck 1 select & deck 1 leftdeck & set "modedeck" 0 : action_deck 2 ? down ? deck 4 select & deck 4 rightdeck & set "modedeck" 1 : deck 2 select & deck 2 rightdeck & set "modedeck" 0
As an indicator, I also stole the stats LEDs for switch position feedback. They should blink fast when NOT on the normal deck 1 and 2.
LED_FADER_START = var_equal "modedeck" 0 ? blink 500ms : var_equal "modedeck" 1 ? off
Think this was the better route. Enjoy!
Inviato Sun 17 Oct 10 @ 5:20 pm
If the is a script guru available. The only issue I have with the above code is I have to cycle the switches when VDJ first starts to get the flashing LEDs in order (off in deck 1 and 2). Not aure why, thanks.
Inviato Sun 17 Oct 10 @ 7:11 pm