Hi Guys could anyone tell me if its possible to map a key to bring a fader down gradually on the active deck? I have one set to do the master volume for 'ducking' but I'm trying to work out a mix and don't always have my controller set up in front of me so wondered if I could use the keyboard for now ?
Many thanks
Many thanks
发表时间 Thu 23 Jan 14 @ 10:30 am
yep you can map a modifier after the thing you want to control with your keyboard. eg
volume -1%
volume +0.01
the decimal and percentage above are equal but movement happens because of the +/- sign
or you can set it to a specific value
volume 40%
volume 0.4
if you want to duck while you hold a button, you could do something like:
down ? volume -40% : volume +40%
volume -1%
volume +0.01
the decimal and percentage above are equal but movement happens because of the +/- sign
or you can set it to a specific value
volume 40%
volume 0.4
if you want to duck while you hold a button, you could do something like:
down ? volume -40% : volume +40%
发表时间 Thu 23 Jan 14 @ 3:46 pm
Many thanks for the reply
do you know if this is written correctly
deck left volume +0.01 -1% while_pressed
If doesn't give a syntax error but doesn't work ?
Thanks
do you know if this is written correctly
deck left volume +0.01 -1% while_pressed
If doesn't give a syntax error but doesn't work ?
Thanks
发表时间 Thu 23 Jan 14 @ 4:10 pm
you are cancelling out the movement with both the + and the -. I was just showing that you can move it both ways. This is what you need
deck left volume +1%
deck left volume -1%
also you can use the decimal or percentage interchangeably depending on which you prefer or if you are doing complicated things that grab the value from one of the get commands but you probably don't need to know about that.
The reason you don't use "while_pressed" is because keys on your keyboard will repeat if you hold them down like in a text editor where you hold the keyyyyyyyyyyyyyyyyyyy. it does the same thing in VDJ.
if you wish to cancel the repeating behaviour of the keyboard there is a command "isrepeat" that you can put in a conditional like this:
isrepeat ? repeating : first press
so in your mapping you could do this to cancel the repeating action. but honestly I haven't found a good use for it.
isrepeat ? nothing : deck left volume -40%
If you were to map the same type of thing to a button on a controller you could use "repeat" which will repeat any script that follows it at the interval in milliseconds that you specify eg
repeat 16ms & deck left volume -1%
deck left volume +1%
deck left volume -1%
also you can use the decimal or percentage interchangeably depending on which you prefer or if you are doing complicated things that grab the value from one of the get commands but you probably don't need to know about that.
The reason you don't use "while_pressed" is because keys on your keyboard will repeat if you hold them down like in a text editor where you hold the keyyyyyyyyyyyyyyyyyyy. it does the same thing in VDJ.
if you wish to cancel the repeating behaviour of the keyboard there is a command "isrepeat" that you can put in a conditional like this:
isrepeat ? repeating : first press
so in your mapping you could do this to cancel the repeating action. but honestly I haven't found a good use for it.
isrepeat ? nothing : deck left volume -40%
If you were to map the same type of thing to a button on a controller you could use "repeat" which will repeat any script that follows it at the interval in milliseconds that you specify eg
repeat 16ms & deck left volume -1%
发表时间 Thu 23 Jan 14 @ 4:31 pm
Hi Thanks again for the advice I couldn't get it to work though but not to worry I should just use my controller saves all the hassle !
发表时间 Fri 24 Jan 14 @ 9:46 am
Spoon feeding
deck 1 level +3.33%
will turn deck 1 up
deck 1 level -3.33%
will turn deck 1 down
What I have,
Volume up
deck 1 level 100% ? deck 1 level 0% : deck 1 level +3.33%
Explained
if deck 1 is at full volume ? then when CHOSEN BUTTON is pressed drop the volume to 0%, : if the volume isn't full then increase the volume by 3.33%
Volume down
deck 1 level 0% ? deck 1 level 100% : deck 1 level -3.33%
Explained
if deck 1 is at 0% ? then when CHOSEN BUTTON is pressed increase the volume to 100% : if it isn't at 0% then decrease the volume by 3.33%
deck 1 level +3.33%
will turn deck 1 up
deck 1 level -3.33%
will turn deck 1 down
What I have,
Volume up
deck 1 level 100% ? deck 1 level 0% : deck 1 level +3.33%
Explained
if deck 1 is at full volume ? then when CHOSEN BUTTON is pressed drop the volume to 0%, : if the volume isn't full then increase the volume by 3.33%
Volume down
deck 1 level 0% ? deck 1 level 100% : deck 1 level -3.33%
Explained
if deck 1 is at 0% ? then when CHOSEN BUTTON is pressed increase the volume to 100% : if it isn't at 0% then decrease the volume by 3.33%
发表时间 Fri 24 Jan 14 @ 12:38 pm
deck left volume +1%
If that doesn't work there is something else wrong, like you have mapped the same key twice, order the list by key name, find the one you want to map and check if there are any duplicates, if there are delete them to leave only one of each key.
If that doesn't work there is something else wrong, like you have mapped the same key twice, order the list by key name, find the one you want to map and check if there are any duplicates, if there are delete them to leave only one of each key.
发表时间 Fri 24 Jan 14 @ 5:19 pm