Hi,
I'm using a 2 deck controller with a 4 deck skin, I've remapped my pitch bend key to invert decks based on whether it is the left or right side already. I now want it so that my volume will by default change the level on my "active" deck, e.g whichever is selected on that side. And then if I hold shift, it will now change the level on the "inactive" deck, e.g not selected on that side.
I've come very close but the problem is handling the case where deck 3 or 4 are the "selected" decks, this is what I had to cover my initial bases;
device_side 'left' ?
var 'shift_left' ? deck 3 level : level :
device_side 'right' ?
var 'shift_right' ? deck 4 level : level
Thank you
I'm using a 2 deck controller with a 4 deck skin, I've remapped my pitch bend key to invert decks based on whether it is the left or right side already. I now want it so that my volume will by default change the level on my "active" deck, e.g whichever is selected on that side. And then if I hold shift, it will now change the level on the "inactive" deck, e.g not selected on that side.
I've come very close but the problem is handling the case where deck 3 or 4 are the "selected" decks, this is what I had to cover my initial bases;
device_side 'left' ?
var 'shift_left' ? deck 3 level : level :
device_side 'right' ?
var 'shift_right' ? deck 4 level : level
Thank you
Mensajes Tue 11 Mar 25 @ 3:22 pm
query like this
deck 1 leftdeck ? ... : ...
Mensajes Tue 11 Mar 25 @ 4:41 pm
Are you suggesting something like this?
deck 1 leftdeck ? var 'shift_left' ? deck 3 level : level :
deck 3 leftdeck ? var 'shift_left' ? deck 1 level : deck 3 level
Focusing only on the left side for now this still hasn't worked, when Deck 3 is selected, both default volume and shift_volume are changing Deck 1. Where have I gone wrong?
deck 1 leftdeck ? var 'shift_left' ? deck 3 level : level :
deck 3 leftdeck ? var 'shift_left' ? deck 1 level : deck 3 level
Focusing only on the left side for now this still hasn't worked, when Deck 3 is selected, both default volume and shift_volume are changing Deck 1. Where have I gone wrong?
Mensajes Tue 11 Mar 25 @ 4:51 pm
probably your variable being tied to a deck
device_side 'left' ?
deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
deck 1 var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ?
deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
deck 2 var 'shift_right' ? deck 2 level : deck 4 level
Mensajes Tue 11 Mar 25 @ 5:11 pm
Thank you for the response but this works the same as the one in my original post;
It works as intended when Deck 1 or 2 are the selected ones, but when Deck 3 or Deck 4 are selected the default volume function works correctly (changes Deck 3 and 4 volume), but shift_volume also affects the Decks 3 and 4
It works as intended when Deck 1 or 2 are the selected ones, but when Deck 3 or Deck 4 are selected the default volume function works correctly (changes Deck 3 and 4 volume), but shift_volume also affects the Decks 3 and 4
Mensajes Tue 11 Mar 25 @ 5:15 pm
omit the deck specifier on the variable query then,
if you're only getting one reply to a query then investigate the query.
if you're only getting one reply to a query then investigate the query.
Mensajes Tue 11 Mar 25 @ 5:19 pm
I removed it to this and I'm getting identical results to the original script you posted;
device_side 'left' ? deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ? deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
var 'shift_right' ? deck 2 level : deck 4 level
I think its really close to a solution but it's almost as though it's unable to access the final shift_volume case that we're implementing.
device_side 'left' ? deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ? deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
var 'shift_right' ? deck 2 level : deck 4 level
I think its really close to a solution but it's almost as though it's unable to access the final shift_volume case that we're implementing.
Mensajes Tue 11 Mar 25 @ 5:23 pm
go back to the script earlier but use deck 3 & 4 as the specifier for the variable query.
Mensajes Tue 11 Mar 25 @ 5:26 pm
If you mean like this;
device_side 'left' ?
deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
deck 1 var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ?
deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
deck 2 var 'shift_right' ? deck 2 level : deck 4 level
When Deck 3 or 4 are selected, both default volume and shift_volume affect Deck 3 and 4. The other case of Deck 1 or 2 being selected works correctly though.
device_side 'left' ?
deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
deck 1 var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ?
deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
deck 2 var 'shift_right' ? deck 2 level : deck 4 level
When Deck 3 or 4 are selected, both default volume and shift_volume affect Deck 3 and 4. The other case of Deck 1 or 2 being selected works correctly though.
Mensajes Tue 11 Mar 25 @ 5:32 pm
because you're using deck 1 & 2 as the specifier on the variable queries, I said use deck 3 & 4.
Mensajes Tue 11 Mar 25 @ 5:34 pm
My bad, this now has the right side (Deck 2 and 4) working perfectly, left side still doesn't though (both default volume and shift_volume are doing Deck 1), any ideas?
device_side 'left' ?
deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
deck 3 var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ?
deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
deck 4 var 'shift_right' ? deck 2 level : deck 4 level
device_side 'left' ?
deck 1 leftdeck ?
var 'shift_left' ? deck 3 level : level :
deck 3 var 'shift_left' ? deck 1 level : deck 3 level :
device_side 'right' ?
deck 2 rightdeck ?
var 'shift_right' ? deck 4 level : level :
deck 4 var 'shift_right' ? deck 2 level : deck 4 level
Mensajes Tue 11 Mar 25 @ 5:40 pm
Use var_list, investigate what's going on with your variable.
It would be a lot easier if you made your variable global.
It would be a lot easier if you made your variable global.
Mensajes Tue 11 Mar 25 @ 5:49 pm
I don't know how to do that, is there documentation? I thought VDJ couldn't hold Global Variables for some reason.
This is the code I am using to invert the decks too by the way, in case it helps;
device_side 'left' ? invert_deck 'left' : invert_deck 'right'
The solution you've given at the moment is great, I'm just struggling to graps how the right case works but left doesn't.
This is the code I am using to invert the decks too by the way, in case it helps;
device_side 'left' ? invert_deck 'left' : invert_deck 'right'
The solution you've given at the moment is great, I'm just struggling to graps how the right case works but left doesn't.
Mensajes Tue 11 Mar 25 @ 5:53 pm
Nevermind, I just restarted my software and now it works perfectly, thank you so much for your help!
Mensajes Tue 11 Mar 25 @ 5:54 pm