快速登录:  

Forum: VirtualDJ Plugins

话题: VDJscript - read delta from knob/slider

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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.
 

发表时间 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.
 

发表时间 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
 

发表时间 Thu 07 Oct 10 @ 2:08 pm


(陈旧帖子或论坛版块会自动关闭)