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
Any help?
I need this for smooth harmonic mixing, when mixing tracks that have key difference by 1.
-Jaakko
Posté Fri 10 Feb 17 @ 12:26 pm
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.
If it sends 128 midi notes from 0 to 100% you can try it with key smooth of 0.16.
Posté Fri 10 Feb 17 @ 1:11 pm
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
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
Posté Fri 10 Feb 17 @ 2:24 pm
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
Posté Sat 11 Feb 17 @ 12:37 pm
param_multiply 0.16 & param_add 0.44 & key_smooth
try this, got there through trial and error, yet to work out the maths
try this, got there through trial and error, yet to work out the maths
Posté Sat 11 Feb 17 @ 12:57 pm
thanks locodog, work like a charm! :)
Posté Sat 11 Feb 17 @ 7:29 pm
Cool, always happy to hear feedback when stuff works.
Added to VDJ Script Database
Added to VDJ Script Database
Posté Sat 11 Feb 17 @ 10:13 pm