Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet VDJscript - read delta from knob/slider

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

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.
 

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

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

Posté Thu 07 Oct 10 @ 2:08 pm


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