Ingreso rápido:  

Forum: VirtualDJ Plugins

Tema: VDJscript - read delta from knob/slider

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

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.
 

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

Mensajes 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
 

Mensajes Thu 07 Oct 10 @ 2:08 pm


(Los tópicos y foros antiguos son automáticamente cerrados)