Quick Sign In:  

Forum: General Discussion

Topic: keyboard mapping

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

BlulitePRO InfinityMember since 2009
as some of you know, ive not long been back and im currently saving and deciding on a controller, so at present im using keyboard and mouse again, going back to basics to fully familiarize myself with the new software.

as i use a lot of undermixing, i a want to be able to adjust my eq with the keyboard.

i have a couple of sticking points.

A: whenever i type into the action box/bar, no text gets entered and the it just searches for non related items.
B: key learn doesn't seem to allow me to use combinations. eg. q+NUM2

what im aiming to achieve is

Q A Z + NUM8/NUM2 selects left deck low mid or high and increases/decreases the volume correspondingly.
O K M +NUM8/NUM2 selects right deck and controls as above.

due to the mapping system somewhat overhauled in the recombination, i am now learning to map all over again. im quite familiar with mapping controllers as some may know due to my mappers uploaded to the site. but mapping to the keyboard shoud be basically the same no??

any help will be appreciated, thanks, john.
 

geposted Sat 27 Feb 16 @ 1:21 pm
BlulitePRO InfinityMember since 2009
update, worked some of it out, i just need to know how to do combination keys???

eg. Q+NUM2
 

geposted Sat 27 Feb 16 @ 1:45 pm
locoDogPRO InfinityModeratorMember since 2013
working off the keyboard is a great way to learn vdj [who needs a backup controller if you can mix with just a laptop]

straight combinations are only allowed with ctrl shift alt keys but as usual there is another way.

for your q key map
toggle '$leftlow' while_pressed


for your num2 key map
var '$leftlow' ? deck left eq_low -2% : nothing


that is just the basic num2 and num8 are going to be pretty long scripts so it might be good to work the mapping xml in a text editor not vdj, it will look something like this

var '$leftlow' ? deck left eq_low -2% : var '$rightlow' ? deck right eq_low -2% : var '$leftmid' ? deck left eq_mid -2% : var '$rightmid' ? deck right eq_mid -2% : var '$lefthigh' ? deck left eq_high -2% : var '$righthigh' ? deck high eq_low -2% : whatever you want the key to dowhen nothing is pressed with it


if you want to control 2 dials at once like lower the bass on both decks at the same time then things get a bit tougher to code but not impossible.
 

geposted Sat 27 Feb 16 @ 2:13 pm
BlulitePRO InfinityMember since 2009
locodog wrote :
working off the keyboard is a great way to learn vdj [who needs a backup controller if you can mix with just a laptop]

straight combinations are only allowed with ctrl shift alt keys but as usual there is another way.

for your q key map
toggle '$leftlow' while_pressed


for your num2 key map
var '$leftlow' ? deck left eq_low -2% : nothing


that is just the basic num2 and num8 are going to be pretty long scripts so it might be good to work the mapping xml in a text editor not vdj, it will look something like this

var '$leftlow' ? deck left eq_low -2% : var '$rightlow' ? deck right eq_low -2% : var '$leftmid' ? deck left eq_mid -2% : var '$rightmid' ? deck right eq_mid -2% : var '$lefthigh' ? deck left eq_high -2% : var '$righthigh' ? deck high eq_low -2% : whatever you want the key to dowhen nothing is pressed with it


if you want to control 2 dials at once like lower the bass on both decks at the same time then things get a bit tougher to code but not impossible.


thanks, the num2 and num8 script i had pretty much worked out, it was my variable for the QAZ OKM that i couldn't figure out. would be a lot easier if we could do key combinations with any keys instead of just shift, alt etc.

im also stuck with trying to remember how to name a variable. does it have to contain the $ sign? if so then thats where im going wrong. ive been using

eg.. Z button = var 'lowz'

does the variable have to contain a direct description of the intended action? eg 'leftlow' 'rightlow'
 

geposted Sat 27 Feb 16 @ 4:13 pm
BlulitePRO InfinityMember since 2009
ah, i had also not entered the deck selection
 

geposted Sat 27 Feb 16 @ 4:14 pm
BlulitePRO InfinityMember since 2009
got it complete. all keys are working as i expected.

thanks for your help
 

geposted Sat 27 Feb 16 @ 4:36 pm
locoDogPRO InfinityModeratorMember since 2013
cool

the name can be whatever, i like to keep them descriptive also the dollar symbol makes a variable cover all decks, [global]

it might not matter for you but as your mapping grows it can help
i have some keys that work on the selected deck some keys for a specific deck.

it will work without the dollar but your command is global [you could have deck 12 as the selected deck but when you press z you want to affect deck 1] so it makes sense to make the variable global.

one more thing you can combine the modifier keys.

ctrl
ctrl shift
ctrl alt
ctrl shift alt
shift
shift alt
alt

 

geposted Sat 27 Feb 16 @ 4:42 pm
BlulitePRO InfinityMember since 2009
thanks, ive written some pretty gnarly scripts in the past, just not for a keyboard and been away from the decks for about 18 months.

since then a lot has changed and im starting from scratch again.

is there a way to reset a specific eq? eg. reset low by tapping Z even if the command when pressed is for it to toggle a variable? i tried variations of combining eq commands but nothing worked. it seems reset all or none lol
 

geposted Sat 27 Feb 16 @ 4:50 pm
locoDogPRO InfinityModeratorMember since 2013
you'd have to use holding, let's say q instead of z as you haven't told me what z does

i can't remember if there's a problem with while pressed and holding in the same script, on paper it should work.

holding 400ms ? toggle '$leftlow' while_pressed : deck x eq_low 50%
 

geposted Sat 27 Feb 16 @ 5:06 pm
BlulitePRO InfinityMember since 2009
the letters ive used correspond as such

Q = left high
A = left mid
Z = left low

O = right high
K = right mid
M = right low

NUM 2 = -2%
NUM 8 = +2%

im toying with the idea that if i tap the corresponding key. the corresponding eq will reset.

however, im unsure if thats actually feasible when mixing.

im now also working on

NUM2 = deck left gain -2% : deck right gain -2%

what i stuck with is selecting the inactive deck.

i have

deck left active? nothing : deck left gain -2% : deck right active? nothing : deck right gain -2%


which technically should reduce the gain of the inactive deck when no other coresponding variables are active. ive added it onto the end of my script as such

var '$lefthigh'? deck left eq_high -2% : var '$righthigh'? deck right eq_high -2% : var '$leftmid'? deck left eq_mid -2% : var '$rightmid'? deck right eq_mid -2% : var '$leftlow'? deck left eq_low -2% : var '$rightlow'? deck right eq_low -2% : deck left active? nothing : deck left gain -2% : deck right active? nothing : deck right gain -2%
 

geposted Sat 27 Feb 16 @ 5:15 pm
locoDogPRO InfinityModeratorMember since 2013
deck left active? nothing : deck left gain -2% : deck right active? nothing : deck right gain -2%


this script stops just after the first active as you haven't left a space before the question mark and then after deck left gain -2% as the query has had 2 replies.

if you only run on 2 decks

deck left select ? deck right gain -2% : deck left gain -2%



 

geposted Sat 27 Feb 16 @ 5:37 pm
locoDogPRO InfinityModeratorMember since 2013
please delete i'm a dummy

 

geposted Sat 27 Feb 16 @ 5:39 pm
BlulitePRO InfinityMember since 2009
locodog wrote :
deck left active? nothing : deck left gain -2% : deck right active? nothing : deck right gain -2%


this script stops just after the first active as you haven't left a space before the question mark and then after deck left gain -2% as the query has had 2 replies.

if you only run on 2 decks

deck left select ? deck right gain -2% : deck left gain -2%





i thought it seemed a bit complicated for what i wanted lol. ill see if your suggestion works.
 

geposted Sat 27 Feb 16 @ 5:57 pm
BlulitePRO InfinityMember since 2009
didnt work, as with my script it only seems to be controling the left gain no matter which deck is inactive.
 

geposted Sat 27 Feb 16 @ 6:00 pm
locoDogPRO InfinityModeratorMember since 2013
you are tabing to switch decks/
 

geposted Sat 27 Feb 16 @ 6:16 pm
BlulitePRO InfinityMember since 2009
no, for some reason i have in my head that once the track stops the deck is seen as inactive.
 

geposted Sat 27 Feb 16 @ 6:19 pm
BlulitePRO InfinityMember since 2009
tabbing makes the script work correctly.
 

geposted Sat 27 Feb 16 @ 6:21 pm
locoDogPRO InfinityModeratorMember since 2013
if you want automatic selected deck switching, pop this on a custom button, first press turns it on second turns it off,

it uses repeat_start script that may be new to you, it might work for you/ it might not

var '$autoSwitch' ? blink & toggle '$autoSwitch' & repeat_stop 'rsSelectSwitch' : off & toggle '$autoSwitch' & repeat_start 'rsSelectSwitch' 33ms & deck 1 play ? deck 2 play ? nothing : deck 1 select : deck 2 play ? deck 2 select : nothing


if both decks are playing there's no switch
if both decks are stopped there's no switch
if only one deck is playing it becomes the selected deck.

 

geposted Sun 28 Feb 16 @ 1:59 am
BlulitePRO InfinityMember since 2009
locodog wrote :
if you want automatic selected deck switching, pop this on a custom button, first press turns it on second turns it off,

it uses repeat_start script that may be new to you, it might work for you/ it might not

var '$autoSwitch' ? blink & toggle '$autoSwitch' & repeat_stop 'rsSelectSwitch' : off & toggle '$autoSwitch' & repeat_start 'rsSelectSwitch' 33ms & deck 1 play ? deck 2 play ? nothing : deck 1 select : deck 2 play ? deck 2 select : nothing


if both decks are playing there's no switch
if both decks are stopped there's no switch
if only one deck is playing it becomes the selected deck.



indeed, ive never heard of a repeat_start script. deffo new to me. ill try that out a little later when i have more time and let you know how things developed.
 

geposted Sun 28 Feb 16 @ 5:47 pm


(Alte Themen und Foren werden automatisch geschlossen)