Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Mapping plugin functions to controller buttons

This topic is old and might contain outdated or incorrect information.

SerinePRO InfinityMember since 2013
I feel like it would be an excellent tool to be able to manually trigger a cut in milkdrop without needing to use the mouse, is there any way to do that?
 

Posted Sun 11 Sep 16 @ 11:05 pm
effect_button 'milkdrop8' 2
or
deck master effect_button 'milkdrop8' 2
 

Posted Mon 12 Sep 16 @ 7:04 am
SerinePRO InfinityMember since 2013
Fantastic, thank you. Is there any instruction manual to find out more about these instructions?
 

Posted Mon 26 Sep 16 @ 11:15 am
locoDogPRO InfinityModeratorMember since 2013
 

Posted Mon 26 Sep 16 @ 1:03 pm
locoDogPRO InfinityModeratorMember since 2013
 

Posted Mon 26 Sep 16 @ 2:35 pm
SerinePRO InfinityMember since 2013
I actually meant "Is there any instruction manual to find out more about [the instructions for the milkdrop plugin]?


I can see that your script just calls the second button on the milkdrop settings panel, I assume calling the other buttons is similarly simple. Your other resources aren't helpful to me in this specific case but I'm sure they will be in the future. Thank you for your time :)
 

Posted Wed 12 Oct 16 @ 8:49 pm
change the number u get the other buttons :-)
 

Posted Wed 12 Oct 16 @ 9:37 pm
Serine wrote :
I actually meant "Is there any instruction manual to find out more about [the instructions for the milkdrop plugin]?


I can see that your script just calls the second button on the milkdrop settings panel, I assume calling the other buttons is similarly simple. Your other resources aren't helpful to me in this specific case but I'm sure they will be in the future. Thank you for your time :)

Every plug-in has buttons and sliders.
The logic to control them is always the same:

effect_button 'effect name' button nr
and
effect_slider 'effect name' slider nr

For sliders you can also set their value directly via vdj script:
effect_slider 'effect name' slider nr 38%

This is useful if you want to "save" a slider's position as a preset

Finally, for VST effects, all their buttons are treated as sliders (technical limitation of VST wrapper)
Therefore in order to control a button of a VST effect you need the following code:

effect_slider 'myVSTeffectname' 3 0% ? effect_slider 'myVSTeffectname' 3 100% : effect_slider 'myVSTeffectname' 3 0%

In this example, number 3 represents the third parameter of the effect.
On VST effects parameters get the order their author defines them on VST and all sliders and buttons have the same class. This means that on a VST effect parameter 1 may be a button, parameter 2 a slider e.t.c
 

Posted Thu 13 Oct 16 @ 11:57 pm
lincol2PRO InfinityMember since 2011
"effect_slider 'effect name' slider nr 38%"

what does 'nr" stands for or what does it make happen? thx
 

Posted Fri 14 Oct 16 @ 1:50 am
Number
 

Posted Fri 14 Oct 16 @ 4:34 am
lincol2PRO InfinityMember since 2011
thanks
 

Posted Fri 14 Oct 16 @ 10:24 am
ohshit wrote :
"effect_slider 'effect name' slider nr 38%"

what does 'nr" stands for or what does it make happen? thx


effect_slider 'effect name' sliderNumber 38%

Example:
effect_slider 'flanger' 1 42%

or:

effect_slider 'echo' 2 60%
 

Posted Fri 14 Oct 16 @ 6:28 pm


(Old topics and forums are automatically closed)