登录:     


Forum: General Discussion

Topic: a few scripts - Page: 3

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Hi guys.

I have a problem to program led of my Xponent

I set it to have the functions of the 2 separate deck.

For example, I mapped the "cue1" with the following instruction:

action_deck 1? video_fx_select "boom_auto" & video_fx: video_transition_select "satelliteboom"

so I actice videoFX on cue1 of left deck and I select a video transition on cue1 of right deck.
This works perfectly!

but I cannot map correctly led Cue. If I press, for example, cue1 light also led the cue2, 3, 4, and 5
to map the LED of cue1 I used the following statement:

video_fx_select "boom_auto" ? on

but this return me a syntax error.

To close :
what is the correct command that allows me to turn on the LED of the cue?
where am I wrong?

thanks and sorry for my scolastic english :)
Ciao Sischo ;)
 

HACKID wrote :
Hi guys.

I have a problem to program led of my Xponent

I set it to have the functions of the 2 separate deck.

For example, I mapped the "cue1" with the following instruction:

action_deck 1? video_fx_select "boom_auto" & video_fx: video_transition_select "satelliteboom"

so I actice videoFX on cue1 of left deck and I select a video transition on cue1 of right deck.
This works perfectly!

but I cannot map correctly led Cue. If I press, for example, cue1 light also led the cue2, 3, 4, and 5
to map the LED of cue1 I used the following statement:

video_fx_select "boom_auto" ? on

but this return me a syntax error.

To close :
what is the correct command that allows me to turn on the LED of the cue?
where am I wrong?

thanks and sorry for my scolastic english :)
Ciao Sischo ;)


The action statements themselves answer to TRUE or FALSE if they are active. So if I want an LED to light up when the video effect "boom_auto" is on ... then I assign the LED -> video_fx_select "boom_auto" active .. just as I would assign it to the button to activate it. VirtualDJ will report TRUE (ON) if the effect is active. OFF if not ...
 

cstoll can you test follow command please?

video_fx_select "boom_auto" ? on

I think it's an example of bug of script language.
I tried all....but my LED_CUE1 not work!!! it's alwais OFF using this istruction!


Can someone help me?

thanks ;)


 

video_fx_select "boom_auto" active


If the effect is active VirtualDJ will report TRUE or ON ... else OFF

You don't have to do the conditional test like you wrote.


btw, for others; if you simply assign the action to the LEDs VirtualDJ reports TRUE or FALSE / ON or OFF .. if that action is occurring. You do not need to do the -- > condition ? true/on : false/off < -- statements
 

cstoll wrote :
video_fx_select "boom_auto" active


I also tried this istruction but does not work.

For more details i paste CUE1 right and CUE1 left istruction :

action_deck 1 ? video_fx_select "boom_auto" & video_fx : video_transition_select "satelliteboom"

now I would like that the LED_CUE1 follow the above instructions. But to simplify things I would like that it follow only the first part of the instructions....

i tried all options but the only one that turns the LED light is follows:

video_fx

but isn't good for my mapping.
 



(陈旧帖子或论坛版块会自动关闭)