快速登录:  

Forum: VirtualDJ Plugins

话题: Mapping plugin functions to controller buttons

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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?
 

发表时间 Sun 11 Sep 16 @ 11:05 pm
effect_button 'milkdrop8' 2
or
deck master effect_button 'milkdrop8' 2
 

发表时间 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?
 

发表时间 Mon 26 Sep 16 @ 11:15 am
locoDogPRO InfinityModeratorMember since 2013
 

发表时间 Mon 26 Sep 16 @ 1:03 pm
locoDogPRO InfinityModeratorMember since 2013
 

发表时间 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 :)
 

发表时间 Wed 12 Oct 16 @ 8:49 pm
change the number u get the other buttons :-)
 

发表时间 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
 

发表时间 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
 

发表时间 Fri 14 Oct 16 @ 1:50 am
Number
 

发表时间 Fri 14 Oct 16 @ 4:34 am
lincol2PRO InfinityMember since 2011
thanks
 

发表时间 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%
 

发表时间 Fri 14 Oct 16 @ 6:28 pm


(陈旧帖子或论坛版块会自动关闭)