Another vdj script question, I would like query the playing deck, independent of the active (selected) deck , and base on which deck is playing perform an action ( Example if deck 1 & 3 is playing then mix now deck 2 & deck 4). Ive try a few different script but they on work correct if the playing deck is the active deck. (Im using deck 1 and 2 for audio & deck 3 & 4 for video).
geposted Fri 27 May 11 @ 1:06 pm
I don't really understand what you mean but you can query what deck is playing with
deck 1 play ? action if true : action if false
and you can string multiple variables that work on one button like this
deck 1 play ? action if true : deck 2 play ? action if true : deck 3 play ? action if true : deck 4 play ? action if true : action if all return false
the only problem with this is that it will only return true once, if you wanted to query if two decks were playing at the same time you could use
deck 1 play ? deck 2 play ? action if 1 and 2 are true : deck 3 play ? deck 4 play ? action if 3 and 4 are true
deck 1 play ? action if true : action if false
and you can string multiple variables that work on one button like this
deck 1 play ? action if true : deck 2 play ? action if true : deck 3 play ? action if true : deck 4 play ? action if true : action if all return false
the only problem with this is that it will only return true once, if you wanted to query if two decks were playing at the same time you could use
deck 1 play ? deck 2 play ? action if 1 and 2 are true : deck 3 play ? deck 4 play ? action if 3 and 4 are true
geposted Fri 27 May 11 @ 2:07 pm
synthet1c: Thanks for the reply. What I mean by query deck is, if a deck or decks are playing I would like a press a key it should determine which deck or decks is playing and perform an action based on the result.
geposted Sun 29 May 11 @ 1:50 pm
that sounds tricky, but you could maybe query every possible combination starting from longest to shortest eg
deck 1 play ? deck 2 play ? deck 3 play ? Action if true : etc...
1?3?4?A:
2?3?4?A:
1?2?A:
3?4?A:
2?3?A:
1?4?A:
1?A:
2?A:
3?A:
4?A
it would need to be structured like this
1?2?3?A:1?3?4?A:2?3?4?A:1?2?A:3?4?A:2?3?A:1?4?A:1?A:2?A:3?A:4?A
but I'm really not sure it would work, you could fill in the blanks and try it, but its probably easier to just use 1?A:2?A:3?A:4?A and just accept if deck 1 is playing it will choose that deck over anything else because it is first in the list
deck 1 play ? deck 2 play ? deck 3 play ? Action if true : etc...
1?3?4?A:
2?3?4?A:
1?2?A:
3?4?A:
2?3?A:
1?4?A:
1?A:
2?A:
3?A:
4?A
it would need to be structured like this
1?2?3?A:1?3?4?A:2?3?4?A:1?2?A:3?4?A:2?3?A:1?4?A:1?A:2?A:3?A:4?A
but I'm really not sure it would work, you could fill in the blanks and try it, but its probably easier to just use 1?A:2?A:3?A:4?A and just accept if deck 1 is playing it will choose that deck over anything else because it is first in the list
geposted Sun 29 May 11 @ 2:05 pm
Here is the shortcut I am trying to do but it is not working.
'deck 2 play & deck 4 play ? set_gain 0 & loop_exit & deck 1 play & deck 3 play & deck 3 level 0% & deck 2 pause & deck 4 pause & deck 4 level 100% & crossfader 0% & eq_low 50% & eq_crossfader_high 50% & eq_crossfader_mid 50% & eq_crossfader_low 50%'.
'deck 2 play & deck 4 play ? set_gain 0 & loop_exit & deck 1 play & deck 3 play & deck 3 level 0% & deck 2 pause & deck 4 pause & deck 4 level 100% & crossfader 0% & eq_low 50% & eq_crossfader_high 50% & eq_crossfader_mid 50% & eq_crossfader_low 50%'.
geposted Sun 29 May 11 @ 2:08 pm
deck 2 play ? deck 4 play ? (what deck are you setting the volume for) volume 0% & (which deck) loop_exit & deck 1 play & deck 3 play & deck 3 volume 0% (why are you setting this as 0%) & deck 2 pause & deck 4 pause & deck 4 volume 100% (why are you setting this) & crossfader 0% & eq_low 50% & eq_crossfader_high 50% & eq_crossfader_mid 50% & eq_crossfader_low 50%'.
need a bit more info on why you want things setup
need a bit more info on why you want things setup
geposted Sun 29 May 11 @ 2:18 pm
synthet1c wrote :
. deck 2 play ? deck 4 play ? (what deck are you setting the volume for) volume 0% & (which deck) loop_exit & deck 1 play & deck 3 play & deck 3 volume 0% (why are you setting this as 0%) & deck 2 pause & deck 4 pause & deck 4 volume 100% (why are you setting this) & crossfader 0% & eq_low 50% & eq_crossfader_high 50% & eq_crossfader_mid 50% & eq_crossfader_low 50%'.
need a bit more info on why you want things setup
need a bit more info on why you want things setup
This my senario I VJ old school reggae on sundays at a club, I use video clips from concerts with same artiste i am playing, so deck 1 play mp3 audio only and deck 3 play video clip only no audio. So if a deck 1 is playing I turn off the volume on deck 3 playing only video and the same for deck 2 & 4. hope you understand. Thanks. (I play ska & reggae from the 60s 70s & 80s, so back then there was no music video.)
geposted Sun 29 May 11 @ 2:32 pm
Did you know that you can just drag a video file onto the video window of each deck, then that video will forever be linked with the track, If synchronicity is not a problem I would suggest that as the easiest solution, try it out and see what you think
geposted Sun 29 May 11 @ 3:00 pm
Thanks for the suggestion but that does not work all the time for me. Could you help me with getting that script working you help is much appreciated.
geposted Sun 29 May 11 @ 3:12 pm
hey mate try this it's your one cleaned up
deck 2 play ? deck 4 play? deck 4 volume 0% & loop_exit & deck 1 pause & deck 3 pause : deck 1 play ? deck 3 play ? deck 3 volume 0% & deck 2 pause & deck 4 pause & deck 4 volume 0% & crossfader 50% & eq_low 0% & eq_crossfader_high 50% & eq_crossfader_mid 50% & eq_crossfader_low 50%
this one is trying to copy both sides so it will do the same things on both sides eg
pause opposite decks
set the playing video deck volume at 0
set the crossfader towards the playing deck
set eq low crossfader towards playing deck
set the other eq's in the middle
I have tried my best with the explination you gave, If you need it changed please write a description as above so I know what you need
deck 2 play ? deck 4 play? deck 4 volume 0% & loop_exit & deck 1 pause & deck 3 pause & deck 3 volume 0% & crossfader 100% & eq_crossfader_low 100% & eq_crossfader_high 50% & eq_crossfader_mid 50% : deck 1 play ? deck 3 play ? deck 3 volume 0% & deck 2 pause & deck 4 pause & deck 4 volume 0% & crossfader 0% & eq_low 0% & eq_crossfader_high 50% & eq_crossfader_mid 50%
P.s. this will only work if both decks 1 & 3, and decks 2 & 4 are playing, and if all four decks are playing then it will default to the first option
deck 2 play ? deck 4 play? deck 4 volume 0% & loop_exit & deck 1 pause & deck 3 pause : deck 1 play ? deck 3 play ? deck 3 volume 0% & deck 2 pause & deck 4 pause & deck 4 volume 0% & crossfader 50% & eq_low 0% & eq_crossfader_high 50% & eq_crossfader_mid 50% & eq_crossfader_low 50%
this one is trying to copy both sides so it will do the same things on both sides eg
pause opposite decks
set the playing video deck volume at 0
set the crossfader towards the playing deck
set eq low crossfader towards playing deck
set the other eq's in the middle
I have tried my best with the explination you gave, If you need it changed please write a description as above so I know what you need
deck 2 play ? deck 4 play? deck 4 volume 0% & loop_exit & deck 1 pause & deck 3 pause & deck 3 volume 0% & crossfader 100% & eq_crossfader_low 100% & eq_crossfader_high 50% & eq_crossfader_mid 50% : deck 1 play ? deck 3 play ? deck 3 volume 0% & deck 2 pause & deck 4 pause & deck 4 volume 0% & crossfader 0% & eq_low 0% & eq_crossfader_high 50% & eq_crossfader_mid 50%
P.s. this will only work if both decks 1 & 3, and decks 2 & 4 are playing, and if all four decks are playing then it will default to the first option
geposted Mon 30 May 11 @ 2:55 am