Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: VDJscript - read delta from knob/slider

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

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.
 

geposted 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.
 

geposted 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
 

geposted Thu 07 Oct 10 @ 2:08 pm


(Alte Themen und Foren werden automatisch geschlossen)