快速登录:  

Forum: VirtualDJ Technical Support

话题: Key smooth knob

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

jaakkoPRO InfinityMember since 2006
I have a filter knob on my controller without use. I have such an idea to use it to smoothly move track keytone one up when turned to max (knob param 100%), or keytone down when turned to min (key knob 0%). In the middle (knob 50%) it should be zero. I can put something like "param_greater 50% ? key_smooth 0.01 : key_smooth -0.01" But how can i be sure that the when max, the key value is exactly +1? (and when min it's -1 respectively)
Any help?

I need this for smooth harmonic mixing, when mixing tracks that have key difference by 1.

-Jaakko
 

发表时间 Fri 10 Feb 17 @ 12:26 pm
PachNPRO InfinityMember since 2009
Depends on the resolution of the knob.

If it sends 128 midi notes from 0 to 100% you can try it with key smooth of 0.16.
 

发表时间 Fri 10 Feb 17 @ 1:11 pm
locoDogPRO InfinityModeratorMember since 2013
I know this,
dial resolution shouldn't be a factor (it can be... but doesn't have to be) the controller spits out midi or double midi but vdj converts that to 0 to 1, it can also deal with 0 to 127 and I believe 0 to 4096.

Try this (not at machine to test)
param_add -1 & param_multiply 2 & key_smooth

drop the value the dial gives, so zero equates to -1 and multiply by 2 so when the dial is full (spitting out 1) it gives a value of 2 then the one is subtracted. And like that your range is -1 to 1
 

发表时间 Fri 10 Feb 17 @ 2:24 pm
jaakkoPRO InfinityMember since 2006
Not working... it seems that key_smooth cannot be calibrated for knob? With any kind of script having word key_smooth causes that when you even slightly touch the knob key goes very much down like the singer has bad flu and cannot be returned to normal by any knob position. :D
 

发表时间 Sat 11 Feb 17 @ 12:37 pm
locoDogPRO InfinityModeratorMember since 2013
param_multiply 0.16 & param_add 0.44 & key_smooth
try this, got there through trial and error, yet to work out the maths
 

发表时间 Sat 11 Feb 17 @ 12:57 pm
jaakkoPRO InfinityMember since 2006
thanks locodog, work like a charm! :)
 

发表时间 Sat 11 Feb 17 @ 7:29 pm
locoDogPRO InfinityModeratorMember since 2013
 

发表时间 Sat 11 Feb 17 @ 10:13 pm


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