Hi all, i would like to ask for a little bit of script help. What i would like to do is to activate video_fx with a knob, especially the native vdj filter.
For example : from 0% - 50 it is low pass filter, and from 50%-100% it is high pass filter. What i would like to do is activate a video_fx if its param_smaller 50% and param_greater 50 %. I tried the given verbs but with no success. here´s how it looks like atm
deck left filter & param_smaller 50% video_fx "XYZ" & param_greater 50% video_fx "YZX"
where is my logical mistake? Can someone please help me out ?
For example : from 0% - 50 it is low pass filter, and from 50%-100% it is high pass filter. What i would like to do is activate a video_fx if its param_smaller 50% and param_greater 50 %. I tried the given verbs but with no success. here´s how it looks like atm
deck left filter & param_smaller 50% video_fx "XYZ" & param_greater 50% video_fx "YZX"
where is my logical mistake? Can someone please help me out ?
Mensajes Thu 12 Jul 12 @ 3:13 am
You were pretty close arne, just need to use a variable and the correct way to select and activate the effect, which is
video_fx_select "XYZ" & video_fx
deck left filter & video_fx_slider 1 & param_equal 50% ? video_fx_select "XYZ" & video_fx : video_fx_select "XYZ" & video_fx
It's better to have the activation on a button though, as you can't yet script video effects to be either on or off the same as audio effects, so the above script will only toggle the video effect, but you can't specify that the video effect is on when the slider is not on 50% and off when it is.
Hopefully this will be fixed for VDJ8 as it is very restrictive and makes it impossible to get dynamic control of multiple video fx at the same time.
video_fx_select "XYZ" & video_fx
deck left filter & video_fx_slider 1 & param_equal 50% ? video_fx_select "XYZ" & video_fx : video_fx_select "XYZ" & video_fx
It's better to have the activation on a button though, as you can't yet script video effects to be either on or off the same as audio effects, so the above script will only toggle the video effect, but you can't specify that the video effect is on when the slider is not on 50% and off when it is.
Hopefully this will be fixed for VDJ8 as it is very restrictive and makes it impossible to get dynamic control of multiple video fx at the same time.
Mensajes Thu 12 Jul 12 @ 3:30 am
Advokut wrote :
deck left filter & param_smaller 50% video_fx "XYZ" & param_greater 50% video_fx "YZX"
deck left filter & param_smaller 50% video_fx "XYZ" & param_greater 50% video_fx "YZX"
Your mistake is that you didn't query the deck. Try the following:
deck left filter & param_smaller 50% ? video_fx_select 'YZX' & video_fx off & video_fx_select 'XYZ' & video_fx on : video_fx_select 'XYZ' & video_fx off & video_fx_select 'YZX' & video_fx on
Mensajes Thu 12 Jul 12 @ 3:32 am
Oops i didn't notice you had two video effects. Phantom is right, but I'm not sure the video_fx on/off will work... hopefully I'm wrong as I have only tried it once and that was a while ago.
Mensajes Thu 12 Jul 12 @ 3:43 am
thanks for this instant feedback guys, and just from the script-gurus i was hoping for.
Thank you Andrew, your script just reminded me that i need to select and activate a video_fx, i allways get this twisted with the way audio effects are activated.
I plan on generally activating the video_fx together with audio effects by triggering a button, and control the sliders from both with one knob, from 0-100%. Its just that i also want to have video_fx going if the build-in filter is active. So basically this is just the icing on the cake, but sadly also the most troublesome part as it seems. Funny sidenote, i cant find my nanopad mapping, where i allready have all the functions i basically want mapped to the pads and the x/y pad... but not beeing able to remember the exact script can make a man mad :D thx a lot
and this ^^ just looks like the map i intended, i´ll try both just to be sure. I think i understand why i need to query the deck plus turn the effect on and off and select another and turn this one on... makes sense to me now. Thank you Phantom
synthet1c wrote :
You were pretty close arne, just need to use a variable and the correct way to select and activate the effect, which is
video_fx_select "XYZ" & video_fx
deck left filter & video_fx_slider 1 & param_equal 50% ? video_fx_select "XYZ" & video_fx : video_fx_select "XYZ" & video_fx
It's better to have the activation on a button though, as you can't yet script video effects to be either on or off the same as audio effects, so the above script will only toggle the video effect, but you can't specify that the video effect is on when the slider is not on 50% and off when it is.
Hopefully this will be fixed for VDJ8 as it is very restrictive and makes it impossible to get dynamic control of multiple video fx at the same time.
video_fx_select "XYZ" & video_fx
deck left filter & video_fx_slider 1 & param_equal 50% ? video_fx_select "XYZ" & video_fx : video_fx_select "XYZ" & video_fx
It's better to have the activation on a button though, as you can't yet script video effects to be either on or off the same as audio effects, so the above script will only toggle the video effect, but you can't specify that the video effect is on when the slider is not on 50% and off when it is.
Hopefully this will be fixed for VDJ8 as it is very restrictive and makes it impossible to get dynamic control of multiple video fx at the same time.
Thank you Andrew, your script just reminded me that i need to select and activate a video_fx, i allways get this twisted with the way audio effects are activated.
I plan on generally activating the video_fx together with audio effects by triggering a button, and control the sliders from both with one knob, from 0-100%. Its just that i also want to have video_fx going if the build-in filter is active. So basically this is just the icing on the cake, but sadly also the most troublesome part as it seems. Funny sidenote, i cant find my nanopad mapping, where i allready have all the functions i basically want mapped to the pads and the x/y pad... but not beeing able to remember the exact script can make a man mad :D thx a lot
PhantomDeejay wrote :
Your mistake is that you didn't query the deck. Try the following:
deck left filter & param_smaller 50% ? video_fx_select 'YZX' & video_fx off & video_fx_select 'XYZ' & video_fx on : video_fx_select 'XYZ' & video_fx off & video_fx_select 'YZX' & video_fx on
Your mistake is that you didn't query the deck. Try the following:
deck left filter & param_smaller 50% ? video_fx_select 'YZX' & video_fx off & video_fx_select 'XYZ' & video_fx on : video_fx_select 'XYZ' & video_fx off & video_fx_select 'YZX' & video_fx on
and this ^^ just looks like the map i intended, i´ll try both just to be sure. I think i understand why i need to query the deck plus turn the effect on and off and select another and turn this one on... makes sense to me now. Thank you Phantom
Mensajes Thu 12 Jul 12 @ 6:36 am