Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet Mapping plugin functions to controller buttons

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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?
 

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

Posté 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?
 

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

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

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

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

Posté 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
 

Posté 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
 

Posté Fri 14 Oct 16 @ 1:50 am
Number
 

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

Posté 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%
 

Posté Fri 14 Oct 16 @ 6:28 pm


(Les anciens sujets et forums sont automatiquement fermés)