I have a KNOB on the VCI 100 that I would like to map to scroll through the different video transitions similar to how the knob performs on the Denon MC6000. For the life of me I cannot figure out the correct vdj script.
Thanks.
Thanks.
Mensajes Mon 24 Sep 12 @ 6:56 pm
this should work for an encoder, it's the same deal as the other thread if it doesn't work or is backwards.
param_smaller 0 ? video_transition_select -1 : video_transition_select +1
you can have it work only when shifted, or if the video window is open or really anything you want!
Just let me know if there is anything in particular you would like to know.
param_smaller 0 ? video_transition_select -1 : video_transition_select +1
you can have it work only when shifted, or if the video window is open or really anything you want!
Just let me know if there is anything in particular you would like to know.
Mensajes Mon 24 Sep 12 @ 11:48 pm
I'll try that. On the denon mc6000 when you turn the knob to the right it changes the transition effect +1. If you turn the knob left it changes the transition effect -1.
Mensajes Tue 25 Sep 12 @ 12:30 am
Hello Synth,
You are the scripting guy here, my question is this.
Akai LPD8 midi controller, what script to use for knob between 0-25% video_fx_select "videocube", 25-50% video_fx_select "PandoraBox", 50-75% video_fx_select "Negative", 75-100% video_fx_select "Sepia" so the knob has 4 vallue's
While pressing PAD1 for example the effect is active, when released effect off
Turn knob en pressing the PAD1 again give's different effect.
Is this hard to script?
I've got 2 effect's on 1 knob active only
Thnx Synth
Greetz Jurrien
You are the scripting guy here, my question is this.
Akai LPD8 midi controller, what script to use for knob between 0-25% video_fx_select "videocube", 25-50% video_fx_select "PandoraBox", 50-75% video_fx_select "Negative", 75-100% video_fx_select "Sepia" so the knob has 4 vallue's
While pressing PAD1 for example the effect is active, when released effect off
Turn knob en pressing the PAD1 again give's different effect.
Is this hard to script?
I've got 2 effect's on 1 knob active only
Thnx Synth
Greetz Jurrien
Mensajes Wed 06 Feb 13 @ 9:54 am
Hey Jurrien,
It's not that hard to script as VDJScript is about as close to english as a scripting language gets. It just take's a couple of weeks to understand how it works.
the mapping for the knob would be
param_smaller 26% ? video_fx_select 'videocube' : param_smaller 51% ? video_fx_select 'PandoraBox' : param_smaller 76% ? video_fx_select 'Negative' : video_fx_select 'Sepia'
then for the button it's just
video_fx while_pressed
If you wanted to toggle the video fx on and only have one effect at a time it would be a little trickier as you would need to query the currently set video effect and switch it off before turning the next on. I can help you with that if you need.
It's not that hard to script as VDJScript is about as close to english as a scripting language gets. It just take's a couple of weeks to understand how it works.
the mapping for the knob would be
param_smaller 26% ? video_fx_select 'videocube' : param_smaller 51% ? video_fx_select 'PandoraBox' : param_smaller 76% ? video_fx_select 'Negative' : video_fx_select 'Sepia'
then for the button it's just
video_fx while_pressed
If you wanted to toggle the video fx on and only have one effect at a time it would be a little trickier as you would need to query the currently set video effect and switch it off before turning the next on. I can help you with that if you need.
Mensajes Wed 06 Feb 13 @ 3:58 pm
Hello Synthet1c,
Thanx for the fast reply :)
I've been working on it and made this script:
param_smaller 50% ? param_smaller 25% ? video_fx_select "negative" : video_fx_select "sepia" : param_greater 50% ? param_greater 75% ? video_fx_select "SBDJ V-Delay" : video_fx_select "SBDJ H-Delay"
Is this a good way to work with, regarding my question? Or is your's better for this?
I only want 1 effect and 1 transition active at the time so 2 PADS pressed.
I set the PAD code to: down ? video_fx : video_fx_clear <=== Is this a good way to do it or yours better?
KNOB 1 - 5 - 2 - 6 <=== TRANSITION KNOBS (select only) 2 effect's most used on 51% inner so in example code NEGATIVE and SBDJ H-Delay
KNOB 3 - 7 - 4 <==== VIDEO EFFECT'S (select only) same above
and KNOB 8 <==== video_crossfader
Thnx again for the fast reply, and is this a good way to select and activate effect's and transitions the way i wanted?
GreetZ Jurrien
Thanx for the fast reply :)
I've been working on it and made this script:
param_smaller 50% ? param_smaller 25% ? video_fx_select "negative" : video_fx_select "sepia" : param_greater 50% ? param_greater 75% ? video_fx_select "SBDJ V-Delay" : video_fx_select "SBDJ H-Delay"
Is this a good way to work with, regarding my question? Or is your's better for this?
I only want 1 effect and 1 transition active at the time so 2 PADS pressed.
I set the PAD code to: down ? video_fx : video_fx_clear <=== Is this a good way to do it or yours better?
KNOB 1 - 5 - 2 - 6 <=== TRANSITION KNOBS (select only) 2 effect's most used on 51% inner so in example code NEGATIVE and SBDJ H-Delay
KNOB 3 - 7 - 4 <==== VIDEO EFFECT'S (select only) same above
and KNOB 8 <==== video_crossfader
Thnx again for the fast reply, and is this a good way to select and activate effect's and transitions the way i wanted?
GreetZ Jurrien
Mensajes Thu 07 Feb 13 @ 2:20 am
Hey Jurrien,
your pad code is much better than mine as it will cancel all video effects when you release it.. 'I honestly didn't know that video_fx_clear existed as I haven't really tested video much tbh'. If you wanted to make it better you could add the clear to the front of it and combine both our scripts eg
video_fx_clear & video_fx while_pressed & up ? video_fx_clear
In regard to the knob script much of what you have added is formatted differently and the last bit will never work eg
param_smaller 50% ? param_smaller 25% ? video_fx_select "negative" : video_fx_select "sepia" : param_greater 50% ? param_greater 75% ? video_fx_select "SBDJ V-Delay" : video_fx_select "SBDJ H-Delay"
this is more readable to me and the end bit will now work if at 100%
param_smaller 25% ? video_fx_select "negative" : param_smaller 50% ? video_fx_select "sepia" : param_smaller 75% ? param_smaller 100% ? video_fx_select "SBDJ V-Delay" : video_fx_select "SBDJ H-Delay"
If I were you I'd use on knob for all my selections, not multiple knobs as you could accidentally change the desired fx/transition by just moving the wrong knob. You could use the exact same idea for transitions as the video_fx eg
param_equal 0% ? video_transition_select 'transitionNameOne' : param_smaller 25% ? video_transition_select 'transitionNameTwo' : param_smaller 50% ? video_transition_select 'transitionNameThree' : param_smaller 75% ? video_transition_select 'transitionNameFour' : video_transition_select 'transitionNameFive'
if you want more transitions just divide 100 by how many transitions/fx you want and use that number instead of multiples of 25
your pad code is much better than mine as it will cancel all video effects when you release it.. 'I honestly didn't know that video_fx_clear existed as I haven't really tested video much tbh'. If you wanted to make it better you could add the clear to the front of it and combine both our scripts eg
video_fx_clear & video_fx while_pressed & up ? video_fx_clear
In regard to the knob script much of what you have added is formatted differently and the last bit will never work eg
param_smaller 50% ? param_smaller 25% ? video_fx_select "negative" : video_fx_select "sepia" : param_greater 50% ? param_greater 75% ? video_fx_select "SBDJ V-Delay" : video_fx_select "SBDJ H-Delay"
this is more readable to me and the end bit will now work if at 100%
param_smaller 25% ? video_fx_select "negative" : param_smaller 50% ? video_fx_select "sepia" : param_smaller 75% ? param_smaller 100% ? video_fx_select "SBDJ V-Delay" : video_fx_select "SBDJ H-Delay"
If I were you I'd use on knob for all my selections, not multiple knobs as you could accidentally change the desired fx/transition by just moving the wrong knob. You could use the exact same idea for transitions as the video_fx eg
param_equal 0% ? video_transition_select 'transitionNameOne' : param_smaller 25% ? video_transition_select 'transitionNameTwo' : param_smaller 50% ? video_transition_select 'transitionNameThree' : param_smaller 75% ? video_transition_select 'transitionNameFour' : video_transition_select 'transitionNameFive'
if you want more transitions just divide 100 by how many transitions/fx you want and use that number instead of multiples of 25
Mensajes Thu 07 Feb 13 @ 5:21 am
Hi Synthet1c,
Thank you for the very fast reply on this, my idea was to fully work with the Akai and this way its possible.
The way i work with the Akai is this:
Akai has 4 mode sets. Mode 4 video effect/trans. Mode 3 sampler PAD, active while_pressed and the KNOBS are volume sliders.
On my Reloop Contour i press SHIFT + CUE 1 to 8, this loads a preset of sample's (8 different presets for example 1 intro's, 5 cartoon and 6 is vocals/voices). Mode 1 and 2 are for audio effect's, PAD's make them active KNOBS are for DRY/WET.
Is it possible to combine the video_select method on the KNOB, for a selection while SHIFTED on the audio effect's, and complete change the code on the audio PAD and KNOB, this is my code for MODE1 audio.
KNOB 1 - 4: sliders deck right
KNOB 5 - 6: sliders deck left
PAD 1 - 4: effect active deck left
PAD 5 - 8: effect active deck right
--------------------- CODE
PAD1: down ? deck left effect "dsp_Reverb" active on : deck left effect "dsp_Reverb" slider 1 33% & deck left effect "dsp_Reverb" slider 3 70% & deck left effect "dsp_Reverb" slider 4 70% & deck left effect "dsp_Reverb" slider 5 50% & deck left effect "dsp_Reverb" active off
PAD5:
down ? deck right effect "dsp_Reverb" active on : deck right effect "dsp_Reverb" slider 1 33% & deck right effect "dsp_Reverb" slider 3 70% & deck right effect "dsp_Reverb" slider 4 70% & deck right effect "dsp_Reverb" slider 5 50% & deck right effect "dsp_Reverb" active off
KNOB1: deck right effect "dsp_Reverb" slider 2
KNOB5: deck left effect "dsp_Reverb" slider 2
--------------------- CODE
It works but not that good, i guess.
How shoud i work with this, you have a solution for this?
I'am a mobile dj in the Netherlands, and work a lot with visuals and also music video clips.
Thanks again for the help and the quick reply
Thnx again Jurrien
Thank you for the very fast reply on this, my idea was to fully work with the Akai and this way its possible.
The way i work with the Akai is this:
Akai has 4 mode sets. Mode 4 video effect/trans. Mode 3 sampler PAD, active while_pressed and the KNOBS are volume sliders.
On my Reloop Contour i press SHIFT + CUE 1 to 8, this loads a preset of sample's (8 different presets for example 1 intro's, 5 cartoon and 6 is vocals/voices). Mode 1 and 2 are for audio effect's, PAD's make them active KNOBS are for DRY/WET.
Is it possible to combine the video_select method on the KNOB, for a selection while SHIFTED on the audio effect's, and complete change the code on the audio PAD and KNOB, this is my code for MODE1 audio.
KNOB 1 - 4: sliders deck right
KNOB 5 - 6: sliders deck left
PAD 1 - 4: effect active deck left
PAD 5 - 8: effect active deck right
--------------------- CODE
PAD1: down ? deck left effect "dsp_Reverb" active on : deck left effect "dsp_Reverb" slider 1 33% & deck left effect "dsp_Reverb" slider 3 70% & deck left effect "dsp_Reverb" slider 4 70% & deck left effect "dsp_Reverb" slider 5 50% & deck left effect "dsp_Reverb" active off
PAD5:
down ? deck right effect "dsp_Reverb" active on : deck right effect "dsp_Reverb" slider 1 33% & deck right effect "dsp_Reverb" slider 3 70% & deck right effect "dsp_Reverb" slider 4 70% & deck right effect "dsp_Reverb" slider 5 50% & deck right effect "dsp_Reverb" active off
KNOB1: deck right effect "dsp_Reverb" slider 2
KNOB5: deck left effect "dsp_Reverb" slider 2
--------------------- CODE
It works but not that good, i guess.
How shoud i work with this, you have a solution for this?
I'am a mobile dj in the Netherlands, and work a lot with visuals and also music video clips.
Thanks again for the help and the quick reply
Thnx again Jurrien
Mensajes Thu 07 Feb 13 @ 5:57 am
Hello Synthet1c,
I tested the code and it's not working :(
In your code there is something missing i guess, at the end you have : and 2 ? - 75% and 100% ??
When i change the KNOB code to:
param_smaller 25% ? video_transition_select "Strups" : param_smaller 50% ? video_transition_select "Cerche" : param_smaller 75% ? video_transition_select "Macula" : video_transition_select "Starburst"
It works all 4 of them, i had to remove the param 100% for this to work.
And the button code doesn't work either. Changed it to:
down ? video_fx : video_fx_clear
Now it's working again.
What's wrong?
Thanks again.
Greetz Jurrien
I tested the code and it's not working :(
In your code there is something missing i guess, at the end you have : and 2 ? - 75% and 100% ??
When i change the KNOB code to:
param_smaller 25% ? video_transition_select "Strups" : param_smaller 50% ? video_transition_select "Cerche" : param_smaller 75% ? video_transition_select "Macula" : video_transition_select "Starburst"
It works all 4 of them, i had to remove the param 100% for this to work.
And the button code doesn't work either. Changed it to:
down ? video_fx : video_fx_clear
Now it's working again.
What's wrong?
Thanks again.
Greetz Jurrien
Mensajes Thu 07 Feb 13 @ 11:56 pm