Ingresar:     


Forum: General Discussion

Tópico: numark mixtrack, trouble mapping

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

I've read the manual, the wikis, and the forums. I've been going at it for for almost a week now putting in countless hours and I cant seem to get anywhere with it lol. I just cant understand writing scripts.

I guess its simple but I have no prior experience writing any scripts or codes with anything. Descent with basic computer skills, but mapping has officially stumped me! I guess I should add in as well that ive only been dj'ing for less than a month now so am considerably inexperienced all around.

Maybe somebody here could help me out or point me in the right direction.

What I want to accomplish with mapping my numark mixtrack with vdj pro 7
1. shift button (preferrably to pitch bend button)
2. having the browser knob serve as the gain control
3. setting hot cues 4/5/6 to hot cue 1/2/3 buttons while shift is pressed
4. set a filter control to a knob on controller (shift + effect knob 2? maybe)
5. kill switches - not sure what is standard here


That should make me happy for the time being haha. I apologize in advance for my noobness :)

appreciate any help, thanks!
 

Mensajes Wed 23 Nov 11 @ 3:42 pm
Im not giving you everything you will need, but I am giving you the tools to do anything you wish when shifted.

first you need to know how variables work, basically you are querying something in the software and have two actions which will be performed if the query returns true or false. the way to script it is
query ? action if true : action if false

now when using the formula in terms of shift you need to set a variable that you can query. you do this by allocating a button to set a shift. there are two you can choose from,

  • toggle - this turns the shift on and off, on alternate presses of the button eg. toggle 'shift'
  • while_pressed - this only activates the shift momentarily while holding the shift button

Personally for this I like to use while_pressed, as then I know when the shift is active. To script it you just need to use
set 'shift' while_pressed

now that you have set a variable you can query it and make a conditional command based on whether it is true or false
var 'shift' ? action if shifted : action if not shifted

from there you just decide what you want the button/knob/slider/led/jog to do and fill in the appropriate part. I will use example 4 that you gave..
var 'shift' ? filter : effect slider 2

all the commands you can use are here
http://www.virtualdj.com/wiki/VDJscript_verbs.html
http://www.virtualdj.com/wiki/VDJscript.html
 

Hello,
So Im trying to use this script to enable the filter while Im holding down the FX select button.

CUE_GAIN var $shift ? filter : headphone_volume
FX_SELECT_BTN set '$shift' 1 while_pressed

I'm able to control the filter while the button is pressed but I lose control of the cue volume when its not.
I also tried this code on the sync button as a shift key, but lost control of sync. Is the code right? any tips?

Thanks in advance

 

I think I got it. I just reset everything and mapped it to another key then went back again and it worked.
Thanks anyway
 

ok, so i got that to work... sort of lol. thanks alot for helping out btw, def understanding it a bit more

ive come to the conclusion and accepted that im just a moron when it comes to mapping and scripting lol

so heres the new problem :(

i pasted that code into the action of the effects knob 2 and it does indeed control the filter now, but it doesnt recognize the shift button. it just took over its original function of being an effects knob.

i think i set the scratch button as the shift button, but i cant test it out because i dont think i wrote the scripts correctly. also now when i push the scratch button the light no longer toggles between on or off, it just stays on?

so how do you write the script to addon to what is already the original action. i tried it with the "?" between the different actions but i dont think thats how its supposed to work lol.

sorry again, i feel pretty stupid haha. i dont even think im making sense, but whatever. long as i can figure this thing out once and for all.

thanks!
 

CUE_GAIN var '$shift' ? filter : headphone_volume
FX_SELECT_BTN set '$shift' 1 while_pressed

you left out the comma's, you need to use them whenever you are typing something other than the scripting language, as in a "variable name"
 

sweet, i at least figured out how to get what i needed out of it. its not exactly what i wanted but i think i can manage until I can figure this mapping thing out more.

thanks a ton for the help, great forums! see you around
 

hi. well...as i was messing around with virtual dj pro...i guess i messed up my mapping for my numark mixtrack...now only the right side works properly... i really just want to set it back to its normal settings... can someone help me????
 

Please register your Pro serial number on the page http://www.virtualdj.com/users/edit.html and then download the latest version from the Download Center: http://www.virtualdj.com/download/updates.html

If you have not purchased VirtualDJ Pro then please support the software and its future development by purchasing it: http://www.virtualdj.com/buy/index.html - Your MixTrack entitles you to a discount off the cost of upgrading.

Once you have done this, try resetting the controllerback to its factory default mapping: http://www.virtualdj.com/wiki/Reset%20controller%20back%20to%20default%20factory%20mapping.html
 



(Los tópicos y foros antiguos son automáticamente cerrados)