Hi there,
first of all a bit of info on my set up and what I m trying to achieve:
IBM Thinkpad SL500: Core 2 Duo, 2.4 Ghz, 4GB Ram
Native Instruments Audio2DJ
American Audio VMS4
Korg Nanocontrol 2
I am using the VMS4 as a MIDI-controller only, on a basic 2 channel set-up. What I'm trying to do is following:
I want to use the endless knobs on both sides of the controller like this:
Left side Effect Select: browse folders
Left side Sample Select: browse files
Right side Effect Select: adjust cbg for the left deck
Right side Sample Select: adjust cbg for the right deck
The first couple is working fine. Unfortunately the second couple no matter what I do, seems to move the beat grid on both decks.
Tried also other unmapped knobs, to see if it makes any difference, but it's still the same...
Any clues what I could be doing wrong?
first of all a bit of info on my set up and what I m trying to achieve:
IBM Thinkpad SL500: Core 2 Duo, 2.4 Ghz, 4GB Ram
Native Instruments Audio2DJ
American Audio VMS4
Korg Nanocontrol 2
I am using the VMS4 as a MIDI-controller only, on a basic 2 channel set-up. What I'm trying to do is following:
I want to use the endless knobs on both sides of the controller like this:
Left side Effect Select: browse folders
Left side Sample Select: browse files
Right side Effect Select: adjust cbg for the left deck
Right side Sample Select: adjust cbg for the right deck
The first couple is working fine. Unfortunately the second couple no matter what I do, seems to move the beat grid on both decks.
Tried also other unmapped knobs, to see if it makes any difference, but it's still the same...
Any clues what I could be doing wrong?
geposted Wed 07 Dec 11 @ 2:19 pm
you need to specify "deck left/right" before the action if you want to use a button/knob/slider differently to how it is laid out on the controller eg
"deck left adjust_cbg"
This way it will only affect the deck you have chosen. Not sure if this will work, the way I know how to script it would be a little different, but I think atomix have changed it now..
not sure if you know but you have to use this to seperate the sides of your controller.
device_side 'left' ? action for left side of controller : action for right side of controller
Effect Select Knob
device_side 'left' ? browser_folder ? browser_scroll : browser_folder : deck left adjust_cbg
"deck left adjust_cbg"
This way it will only affect the deck you have chosen. Not sure if this will work, the way I know how to script it would be a little different, but I think atomix have changed it now..
not sure if you know but you have to use this to seperate the sides of your controller.
device_side 'left' ? action for left side of controller : action for right side of controller
Effect Select Knob
device_side 'left' ? browser_folder ? browser_scroll : browser_folder : deck left adjust_cbg
geposted Wed 07 Dec 11 @ 2:46 pm
thx synthet1c,
indeed this works, however it applies on the beatgrid of both decks for some reason...
It looks like this:
device_side 'left' ? browser_window "songs" ? browser_scroll : browser_window "songs" : deck right adjust_cbg
indeed this works, however it applies on the beatgrid of both decks for some reason...
It looks like this:
device_side 'left' ? browser_window "songs" ? browser_scroll : browser_window "songs" : deck right adjust_cbg
geposted Wed 07 Dec 11 @ 2:55 pm
have a read again, I edited it a couple of times..
geposted Wed 07 Dec 11 @ 2:57 pm
Tried again exactly what you suggested: device_side 'left' ? browser_folder ? browser_scroll : browser_folder : deck left adjust_cbg
Still changes cbg on both decks for some reason... The first part of my script works fine for song browsing, but with the second half i get the same results as with yours.
It's the adjust_cbg function that is driving me mad. In the past I have successfully mapped it to only one knob that would affect only the cueing deck, but being able to adjust both decks simultaneously would be great.
Still changes cbg on both decks for some reason... The first part of my script works fine for song browsing, but with the second half i get the same results as with yours.
It's the adjust_cbg function that is driving me mad. In the past I have successfully mapped it to only one knob that would affect only the cueing deck, but being able to adjust both decks simultaneously would be great.
geposted Wed 07 Dec 11 @ 3:09 pm
that's weird... try replacing deck left/right with deck 1/2
oh and I used the wrong verb in mine, your's is correct, it should be browser_window "folder"
oh and I used the wrong verb in mine, your's is correct, it should be browser_window "folder"
geposted Wed 07 Dec 11 @ 3:18 pm
did that. Also tried "deck active" and "deck default" ... I did a complete search on all forums and the VDJPedia as well, but it seems that in general not many users seem to interested in mapping two knobs to adjust cbg on two different decks. Again, thanks for your time!
geposted Wed 07 Dec 11 @ 3:26 pm
what happens if you take out the device_side bit, and only say
adjust_cbg
this way it is using the definition file to determin the deck designations
adjust_cbg
this way it is using the definition file to determin the deck designations
geposted Wed 07 Dec 11 @ 3:32 pm
I get a syntax error and it does nothing...
I have two theories:
1. When using for example
device_side 'left' ? browser_window "songs" ? browser_scroll : browser_window "songs" : deck right adjust_cbg
I find it quite illogical for the engine to be able to separate which deck does what, due to the 2 consequest actions using the sign ":"
2. It might be that the mappers and definition files installed on my laptop are messing with each other
There are on the one side the BuiltInDevices that come preinstalled and can only be deactivated by the Registry Tool (which I tried as well), and on the other side I also have the DJDAD VMS4 mapper and definition file that I am trying to alterate.... However neither the preinstalled mapper nor the DJDAD one have the cbg option for them to get in each others way...
I have two theories:
1. When using for example
device_side 'left' ? browser_window "songs" ? browser_scroll : browser_window "songs" : deck right adjust_cbg
I find it quite illogical for the engine to be able to separate which deck does what, due to the 2 consequest actions using the sign ":"
2. It might be that the mappers and definition files installed on my laptop are messing with each other
There are on the one side the BuiltInDevices that come preinstalled and can only be deactivated by the Registry Tool (which I tried as well), and on the other side I also have the DJDAD VMS4 mapper and definition file that I am trying to alterate.... However neither the preinstalled mapper nor the DJDAD one have the cbg option for them to get in each others way...
geposted Wed 07 Dec 11 @ 3:53 pm
vdj just counts the "?" and the ":" to make sure it is performing the right actions, and if you close the condition it moves to the next eg
query 1 ? action if query 1 true : action if query 1 false
or to extend it you can put a query in the result
query 1 ? query 2 ? action if query 1 & 2 are true : action if query 1 is true but 2 false : action if query 1 is false
or to go even further..
query 1 ? query 2 ? action if query 1 & 2 are true : action if query 1 is true but 2 false : query 3 ? action if query 1 is false but 3 true : action if query 1 & 3 false
the deck designations are written into the definition file, so mapping can be done quickly so you only need to map one side of the controller, as it will be copied automaticaly to the other side.
You could also try one of these for the endless encoders
param_greater 0% ? adjust_cbg +0.01 : adjust_cbg -0.01
param_greater 50% ? adjust_cbg +0.01 : adjust_cbg -0.01
hopefully djdad will chime in, as I have never used, mapped or helped someone map a vms4
good luck
query 1 ? action if query 1 true : action if query 1 false
or to extend it you can put a query in the result
query 1 ? query 2 ? action if query 1 & 2 are true : action if query 1 is true but 2 false : action if query 1 is false
or to go even further..
query 1 ? query 2 ? action if query 1 & 2 are true : action if query 1 is true but 2 false : query 3 ? action if query 1 is false but 3 true : action if query 1 & 3 false
the deck designations are written into the definition file, so mapping can be done quickly so you only need to map one side of the controller, as it will be copied automaticaly to the other side.
You could also try one of these for the endless encoders
param_greater 0% ? adjust_cbg +0.01 : adjust_cbg -0.01
param_greater 50% ? adjust_cbg +0.01 : adjust_cbg -0.01
hopefully djdad will chime in, as I have never used, mapped or helped someone map a vms4
good luck
geposted Wed 07 Dec 11 @ 4:55 pm
Now I have it like this:
device_side 'left' ? browser_window "songs" ? browser_scroll : browser_window "songs" : deck right param_greater 0% ? adjust_cbg -0.2% : adjust_cbg +0.2%
Sample Select: scrolls through songs on the left side, but moves the cbg on both decks to the right only....
Any clues anybody?
device_side 'left' ? browser_window "songs" ? browser_scroll : browser_window "songs" : deck right param_greater 0% ? adjust_cbg -0.2% : adjust_cbg +0.2%
Sample Select: scrolls through songs on the left side, but moves the cbg on both decks to the right only....
Any clues anybody?
geposted Thu 08 Dec 11 @ 12:20 am
Dee P wrote :
but moves the cbg on both decks to the right only...
Just change this:
deck right param_greater 0% ? adjust_cbg -0.2% : adjust_cbg +0.2%
Use this one below: copy/paste (it will move the cbg left & right)
deck right param_greater 0 ? adjust_cbg +0.2% : adjust_cbg -0.2%
You don't have to argue with synthet1c... as i've learned a lot of scripting from him.... enjoy
geposted Thu 08 Dec 11 @ 10:51 am
Great Cesar,
thanks for the tip, now the cbg moves on both directions (as intented). However, it still applies to both decks' cbg...
One step a time....
Cheers
thanks for the tip, now the cbg moves on both directions (as intented). However, it still applies to both decks' cbg...
One step a time....
Cheers
geposted Thu 08 Dec 11 @ 11:04 am
How many decks you use ? 4-decks? 2 decks? (browser on the left and cbg on the right)
4-decks use this:
device_side 1 ? browser_window 'songs' ? browser_scroll : browser_window 'songs' : device_side 2 ? browser_window 'songs' ? browser_scroll : browser_window 'songs' : device_side 3 ? param_greater 0 ? adjust_cbg +0.2% : adjust_cbg -0.2% : device_side 4 ? param_greater 0 ? adjust_cbg +0.2% : adjust_cbg -0.2%" />
4-decks use this:
device_side 1 ? browser_window 'songs' ? browser_scroll : browser_window 'songs' : device_side 2 ? browser_window 'songs' ? browser_scroll : browser_window 'songs' : device_side 3 ? param_greater 0 ? adjust_cbg +0.2% : adjust_cbg -0.2% : device_side 4 ? param_greater 0 ? adjust_cbg +0.2% : adjust_cbg -0.2%" />
geposted Thu 08 Dec 11 @ 11:12 am
I only use 2 decks, so that should simplify things even more...
Also tried it with device_side 1 and device_side 2 and acts the same
Also tried it with device_side 1 and device_side 2 and acts the same
geposted Thu 08 Dec 11 @ 11:14 am
Just try to replace the "device_side" with deck 1 or deck 2 and delete the other then try...
can you show me your definition files?
can you show me your definition files?
geposted Thu 08 Dec 11 @ 11:20 am
Tried but no luck. If you mean the files that should be in my Devices folder, it's empty...
geposted Thu 08 Dec 11 @ 11:31 am
Dee P wrote :
If you mean the files that should be in my Devices folder, it's empty...
It should have the definition files in the Virtual DJ/Devices/ folder it is an xml files that contains all your definition files of your controller. You can't do the mapping if it is empty. You should define the buttons before mapping it.
geposted Thu 08 Dec 11 @ 11:37 am
its empty because the definition is built into vdj natively... but you could paste djdads definition in there, its probably the same anyway..
just backup your current mapper then reinstall dj dads mapper, it should populate the definition file in the devices folder.
http://www.virtualdj.com/addons/12221/American_Audio_VMS4_Pro_Full.html
these work fine on the jog my icon idj in (undefined) simple midi, so the code is fine
param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
param_greater 50% ? deck 2 adjust_cbg +0.05 : deck 2 adjust_cbg -0.05
try these
they aren't all related to what you want, but just trying to determin what is wrong by exhausting all options LOL
just backup your current mapper then reinstall dj dads mapper, it should populate the definition file in the devices folder.
http://www.virtualdj.com/addons/12221/American_Audio_VMS4_Pro_Full.html
these work fine on the jog my icon idj in (undefined) simple midi, so the code is fine
param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
param_greater 50% ? deck 2 adjust_cbg +0.05 : deck 2 adjust_cbg -0.05
try these
- param_greater 50% ? adjust_cbg +0.05 : adjust_cbg -0.05
- param_greater 0% ? adjust_cbg +0.05 : adjust_cbg -0.05
- param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
- param_greater 0% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
- device_side 'left' ? filter : param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
- device_side 'left' ? filter : param_greater 0% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
- device_side 'left' ? deck right volume : deck left volume
- device_side 'left' ? deck 2 volume : deck 1 volume
- volume
- device_side 'left' ? param_greater 0% ? deck 2 volume +0.05 : deck 2 volume +0.05 : param_greater 0% ? deck 1 volume +0.05 : deck 1 volume +0.05
they aren't all related to what you want, but just trying to determin what is wrong by exhausting all options LOL
geposted Thu 08 Dec 11 @ 11:54 am
@Moderation Staff : I apologize and thank you for raising the topic!
@synthet1c
So, I just tried what you suggested and here are the results. Everything was mapped to the Sample Select Knob and this was an 1:1 copy:
param_greater 50% ? adjust_cbg +0.05 : adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
param_greater 0% ? adjust_cbg +0.05 : adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
param_greater 0% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
device_side 'left' ? filter : param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: only the right side knob moves both decks' grids to the left
***********************************************
device_side 'left' ? filter : param_greater 0% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: only the right side knob moves both decks' grids to the left
***********************************************
device_side 'left' ? deck right volume : deck left volume
result: left side knob adjusts volume on right deck/ right side knob adjusts volume on left deck
***********************************************
device_side 'left' ? deck 2 volume : deck 1 volume
result: left side knob adjusts volume on right deck/ right side knob adjusts volume on left deck
***********************************************
volume
result: left side knob adjusts left deck's volume/ right side knob adjusts right deck's volume
***********************************************
device_side 'left' ? param_greater 0% ? deck 2 volume +0.05 : deck 2 volume +0.05 : param_greater 0% ? deck 1 volume +0.05 : deck 1 volume +0.05
result: left side knob only raises volume on right deck/ right side knob only raises volume on left deck
Hope that helps
@synthet1c
So, I just tried what you suggested and here are the results. Everything was mapped to the Sample Select Knob and this was an 1:1 copy:
param_greater 50% ? adjust_cbg +0.05 : adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
param_greater 0% ? adjust_cbg +0.05 : adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
param_greater 0% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: knobs on both sides move both decks' grids to the left
***********************************************
device_side 'left' ? filter : param_greater 50% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: only the right side knob moves both decks' grids to the left
***********************************************
device_side 'left' ? filter : param_greater 0% ? deck 1 adjust_cbg +0.05 : deck 1 adjust_cbg -0.05
result: only the right side knob moves both decks' grids to the left
***********************************************
device_side 'left' ? deck right volume : deck left volume
result: left side knob adjusts volume on right deck/ right side knob adjusts volume on left deck
***********************************************
device_side 'left' ? deck 2 volume : deck 1 volume
result: left side knob adjusts volume on right deck/ right side knob adjusts volume on left deck
***********************************************
volume
result: left side knob adjusts left deck's volume/ right side knob adjusts right deck's volume
***********************************************
device_side 'left' ? param_greater 0% ? deck 2 volume +0.05 : deck 2 volume +0.05 : param_greater 0% ? deck 1 volume +0.05 : deck 1 volume +0.05
result: left side knob only raises volume on right deck/ right side knob only raises volume on left deck
Hope that helps
geposted Thu 08 Dec 11 @ 4:08 pm