Accesso rapido:  

Forum: VirtualDJ Plugins

Topic: VDJscript - read delta from knob/slider

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

k090PRO InfinityMember since 2006
Hi,
Could you help me how to read delta from current and previous knob/slider value and use it as paramter for command?
E.g. how to read delta between current and previous crossfader position and use it to set e.g. pitch value?

Thanks for help.
 

Inviato Wed 06 Oct 10 @ 12:39 pm
ReThinkPRO InfinityMember since 2009
Hmm, interesting. I dont believe VDJ has a delta measurement. You would have to "get_XXX" and than "get_XXX" after the adjustment. VDJ will not store that change data but if you annotate it, you can specify the change when you press/release a key/button.
 

Inviato Wed 06 Oct 10 @ 3:45 pm
k090PRO InfinityMember since 2006
I need to do something like this:

delta=slider_var-old_var
pitch=delta
old_var=slider_var

or

pitch=slider_var-old_var
old_var=slider_var

where:
slider_var - current slider var
old_var - defined variable

but I don't know how to write it in VDJscript
 

Inviato Thu 07 Oct 10 @ 2:08 pm


(Vecchi argomenti e forum sono automaticamente chiusi)