Entra:     


Forum: VirtualDJ Plugins

Topic: Mapping plugin functions to controller buttons

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

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?
 

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

Fantastic, thank you. Is there any instruction manual to find out more about these instructions?
 

 

 

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 :)
 

change the number u get the other buttons :-)
 

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
 

"effect_slider 'effect name' slider nr 38%"

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

Number
 

thanks
 

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%
 



(Vecchi argomenti e forum sono automaticamente chiusi)