OK this works.
and
and
but when I set a variable to 0.8 noise seems to get a 100% or 1.0 like so:
which isn't what I want but I don't have a variable watcher / debugger so can't see what it's getting.
I want the slider/knob to be about at the 80% position by setting a variable that way I can use it in a more complex script.
i tried
and tried
but no luck
Thanks for everyones help so far..
effect_slider 'Noise' 1 80%
and
effect_slider 'Noise' 1 0.8
and
effect_slider 'Noise' 0.8
but when I set a variable to 0.8 noise seems to get a 100% or 1.0 like so:
set $noiseval 0.8 & effect_slider 'Noise' 1 $noiseval
which isn't what I want but I don't have a variable watcher / debugger so can't see what it's getting.
I want the slider/knob to be about at the 80% position by setting a variable that way I can use it in a more complex script.
i tried
set "$noiseval" 0.8 & effect_slider 'Noise' "$noiseval"
and tried
set $noiseval 0.8 & effect_slider 'Noise' var $noiseval
but no luck
Thanks for everyones help so far..
Inviato Sun 15 Jan 17 @ 10:13 pm
check http://www.virtualdj.com/wiki/VDJScript%20Examples%20Database.html
specifically FX>Drop gain & turn flanger On, Reset gain & turn flanger OFF (Button)
It does similar
@staff can we get a clarification on when backticks are to be used, sometimes it'll only work with 1 [leading], sometimes 2 [wrapping]
specifically FX>Drop gain & turn flanger On, Reset gain & turn flanger OFF (Button)
It does similar
@staff can we get a clarification on when backticks are to be used, sometimes it'll only work with 1 [leading], sometimes 2 [wrapping]
Inviato Sun 15 Jan 17 @ 10:46 pm
@locodog anyone call you a VDJ scripting genius yet? I saw that but once you kind of forced me to look it over I rethought my feeling of gain being a built-in variable and I was using a custom variable I got it to work:
set $noiseval 0.8 & get_var "$noiseval" & param_cast & effect_slider 'Noise'
Inviato Mon 16 Jan 17 @ 12:41 am
locodog wrote :
@staff can we get a clarification on when backticks are to be used, sometimes it'll only work with 1 [leading], sometimes 2 [wrapping]
@staff can we get a clarification on when backticks are to be used, sometimes it'll only work with 1 [leading], sometimes 2 [wrapping]
Normally you need to use 2 (wrapping) except from pads.
Depending on your script some assumptions may be made by the software and a single backtick may work where 2 are expected. However you should not rely on this.
Inviato Mon 16 Jan 17 @ 6:46 am