Hey how you doin great minds of VDJ.com:) Im in need of some enlightenment for I am in the depths of confusion because of these scripts you know what im saying:)
My question is about effects parameters and how to map them:
How do you write a script to activate the buttons in the effects browser window after selecting a specific effect plug-in?
for example: when you activated beatbox effect(which is a common effect plug-in included in virtual dj pro) and you go to the effect browser window, on the right side of the fx browser window you can see the diff. parameters to control that selected effect in this case "beatbox" there you can see that there are 5 buttons to control the time parameters for "beatbox" and below those buttons is 1 fader. now, I already learned how to control that fader. But my question is how do you write scripts to activate or push those 5 buttons?
-or is it even possible to push those buttons using a controller?
-how do you map that?
-or do i really have to use the mouse pad to push those buttons? coz its kind of a hassle.
Thanks in advance for your help guys. Someone, anyone?
My question is about effects parameters and how to map them:
How do you write a script to activate the buttons in the effects browser window after selecting a specific effect plug-in?
for example: when you activated beatbox effect(which is a common effect plug-in included in virtual dj pro) and you go to the effect browser window, on the right side of the fx browser window you can see the diff. parameters to control that selected effect in this case "beatbox" there you can see that there are 5 buttons to control the time parameters for "beatbox" and below those buttons is 1 fader. now, I already learned how to control that fader. But my question is how do you write scripts to activate or push those 5 buttons?
-or is it even possible to push those buttons using a controller?
-how do you map that?
-or do i really have to use the mouse pad to push those buttons? coz its kind of a hassle.
Thanks in advance for your help guys. Someone, anyone?
Posted Sat 26 Nov 11 @ 4:26 am
to activate the effect on the skin you just use
"effect active"
for a button you can use this if you want to toggle it (use the appropriate button number)
effect button 5
or you can use this to press it on (1 = on)
effect button 3 1
or this to press it off (0 = off)
effect button 3 0
you can also name the effect you want to press the button for
effect 'beatmasher_single' button 5 1
"effect active"
for a button you can use this if you want to toggle it (use the appropriate button number)
effect button 5
or you can use this to press it on (1 = on)
effect button 3 1
or this to press it off (0 = off)
effect button 3 0
you can also name the effect you want to press the button for
effect 'beatmasher_single' button 5 1
Posted Sat 26 Nov 11 @ 4:59 am
I already got how to control the buttons for certain effects "beatbox" is one of them. but why cant I control the buttons on the other effect plug-ins??
for example:
"beatgrid" how can i push those numbers on the right side of the beatgrid window besides using the mouse pad?
or is there no other way to control those other buttons?
thanks!
for example:
"beatgrid" how can i push those numbers on the right side of the beatgrid window besides using the mouse pad?
or is there no other way to control those other buttons?
thanks!
Posted Sat 26 Nov 11 @ 5:11 am
thanks Synth what would we do without you here man!
so does that mean that some fx button needs an on and off switch?
so i have to try every button to know which ones need a 1 to turn it on and a zero to turn it off?
thats gonna take all night and there goes my social life:)
Hey Synth what about "beatgrid" i kinda use it a lot and was hoping i wouldnt use the mouse pad too much for live playing especially for controlling my effects parameters.
is the there really no way?
thanks for replying mate.
so does that mean that some fx button needs an on and off switch?
so i have to try every button to know which ones need a 1 to turn it on and a zero to turn it off?
thats gonna take all night and there goes my social life:)
Hey Synth what about "beatgrid" i kinda use it a lot and was hoping i wouldnt use the mouse pad too much for live playing especially for controlling my effects parameters.
is the there really no way?
thanks for replying mate.
Posted Sat 26 Nov 11 @ 5:23 am
nah you cant map beatgrid, it uses a custom gui. mapping only works on effects that the creator has included it, unfortunately they didn't on this one
Posted Sat 26 Nov 11 @ 5:31 am
oh ok. but its good to get answer bro thanks!
any mapping to reset an effect or at-least all the effects to their default settings?
and how do you write a script to turn the loop mode on a selected sampler slot? and also change its loop length?
i mean im gonna map a sampler selector to one of my endless encoder it think i already know how to do that but when a iv already chosen a sampler slot to play how do you write a srcipt to play it and stop it, turn on loop mode, change the loop length and turn it off?
these are some of the last questions I have before Im done mapping, it almost took me a week to get all these info and more than half of what i got i learned from you synth so big thanks to you mate.
I do really hope you can help me with this one coz i cant wait to jam with my controllers on virtual dj:)
any mapping to reset an effect or at-least all the effects to their default settings?
and how do you write a script to turn the loop mode on a selected sampler slot? and also change its loop length?
i mean im gonna map a sampler selector to one of my endless encoder it think i already know how to do that but when a iv already chosen a sampler slot to play how do you write a srcipt to play it and stop it, turn on loop mode, change the loop length and turn it off?
these are some of the last questions I have before Im done mapping, it almost took me a week to get all these info and more than half of what i got i learned from you synth so big thanks to you mate.
I do really hope you can help me with this one coz i cant wait to jam with my controllers on virtual dj:)
Posted Sat 26 Nov 11 @ 6:46 am
im not aware of anyway to map a return to default settings for an effect, if you really want you can delete the "ini" file i the plugins folder, this will restore it back to its original settings, if you would like to set up a reset, you could then map it for future reference so one press will set them all at what you want them to be.
for the effect buttons you don't need to use 0 and 1, it is just a way to control whether it is on or off, otherwise it will toggle on and off
ignore the rest, i'll help you, cause you seem cool.. and I know the feeling of getting a controller that doesn't work straight away...
for the sampler
sampler play
sampler loop
param_greater 50% ? sampler default loop 200% : sampler default loop 50%
param_greater 50% ? sampler select +1 : sampler select -1
its time to introduce you to the wiki my friend
this is a list of all the commands vdj has
http://www.virtualdj.com/wiki/VDJscript_verbs.html
http://www.virtualdj.com/wiki/VDJscript.html
have a read through and you will find all the answers, If you cant find em, I'm happy to help, but you are better off discovering how to do it yourself imho. It's a case of teach a man to fish, he will allways need to be taught, let a man catch the fish on his own, he will create a new way of fishing not yet thought of.. or something like that LOL
for the effect buttons you don't need to use 0 and 1, it is just a way to control whether it is on or off, otherwise it will toggle on and off
ignore the rest, i'll help you, cause you seem cool.. and I know the feeling of getting a controller that doesn't work straight away...
for the sampler
sampler play
sampler loop
param_greater 50% ? sampler default loop 200% : sampler default loop 50%
param_greater 50% ? sampler select +1 : sampler select -1
its time to introduce you to the wiki my friend
this is a list of all the commands vdj has
http://www.virtualdj.com/wiki/VDJscript_verbs.html
http://www.virtualdj.com/wiki/VDJscript.html
have a read through and you will find all the answers, If you cant find em, I'm happy to help, but you are better off discovering how to do it yourself imho. It's a case of teach a man to fish, he will allways need to be taught, let a man catch the fish on his own, he will create a new way of fishing not yet thought of.. or something like that LOL
Posted Sat 26 Nov 11 @ 6:56 am
Hey synth iv got a question for you my man, im gonna try to figure this out myself but i will ask you anyway coz maybe you know this wont work or maybe you can help me figure it out:) here it goes
-I already know how to map shift button to make for example a endless encoder do 2 actions. but is it possible to make it do 3?
-that is my question.. is it possible to write a script for a alternate shift button to make the same endless encoder to do a 3rd action?
- for example i mapped an endless ecoder to control the gain on an active deck, and when i push the shift 1 button the knob becomes the loop selector on an active deck. but when i push shift 2 button the endless encoder thats used to control gain now becomes volume control for the active deck.
tell me if its not possible so i wont be wasting my time trying to write a script for it:)
but if you know another alternative that would be awsome.
Thanks mate!
-I already know how to map shift button to make for example a endless encoder do 2 actions. but is it possible to make it do 3?
-that is my question.. is it possible to write a script for a alternate shift button to make the same endless encoder to do a 3rd action?
- for example i mapped an endless ecoder to control the gain on an active deck, and when i push the shift 1 button the knob becomes the loop selector on an active deck. but when i push shift 2 button the endless encoder thats used to control gain now becomes volume control for the active deck.
tell me if its not possible so i wont be wasting my time trying to write a script for it:)
but if you know another alternative that would be awsome.
Thanks mate!
Posted Sun 27 Nov 11 @ 1:43 am
yep that's not a problem, you can name a variable anything you like, it is just that most call them 'shift' for a shift function, but as long as you query the name the same way it will work. eg. you could call one killswitch it you wanted to...
var 'shift' ? param_greater 50% ? action clockwise : action counter clockwise : var 'killswitch' ? param_greater 50% ? action clockwise : action counter clockwise
you also have the option to make the shift localized to the deck you are pressing it on or global to the whole controller.
for local you just have the 'shift' as normal
but for global you write a $ sign before the word eg '$killswitch'
or you can also have a cycle and query the different states the cycle is in, eg
cycle 'killswitch' 5 (this will cycle forwards)
cycle 'killswitch' -5 (this will cycle backwards)
this will set 5 different cycle states that you can query in your script, they are
cycle 'killswitch' 1
cycle 'killswitch' 2
cycle 'killswitch' 3
cycle 'killswitch' 4
cycle 'killswitch' 0
then as normal you can have an action based on the state of 'killswitch' in the cycle eg
var 'killswitch' 1 ? action if true : var 'killswitch' 2 ? action if true : var 'killswitch' 3 ? action if true : var 'killswitch' 4 ? action if true : action if all false
var 'shift' ? param_greater 50% ? action clockwise : action counter clockwise : var 'killswitch' ? param_greater 50% ? action clockwise : action counter clockwise
you also have the option to make the shift localized to the deck you are pressing it on or global to the whole controller.
for local you just have the 'shift' as normal
but for global you write a $ sign before the word eg '$killswitch'
or you can also have a cycle and query the different states the cycle is in, eg
cycle 'killswitch' 5 (this will cycle forwards)
cycle 'killswitch' -5 (this will cycle backwards)
this will set 5 different cycle states that you can query in your script, they are
cycle 'killswitch' 1
cycle 'killswitch' 2
cycle 'killswitch' 3
cycle 'killswitch' 4
cycle 'killswitch' 0
then as normal you can have an action based on the state of 'killswitch' in the cycle eg
var 'killswitch' 1 ? action if true : var 'killswitch' 2 ? action if true : var 'killswitch' 3 ? action if true : var 'killswitch' 4 ? action if true : action if all false
Posted Sun 27 Nov 11 @ 3:09 am