Se Connecter:     


Forum: General Discussion

Sujet: Script School - Page: 51
down ? hot_cue 2 & get_loop & param_cast & loop_roll : effect_active 'loop roll' off & sync


something along the lines of this.
 

Any luck in finding out how to do this:

Set '%Fader' 0.0
crossfader %Fader
 

I have a working kludge:

set '%Dst' 1 &
set '%Fader' 0.0 &

(var_smaller "%Fader" 0.6 ?
crossfader 0.0 &
:
crossfader 1.0) &

set_deck `get_var %Dst` &
select &
stop & stop &
play

 

bgavin wrote :
Any luck in finding out how to do this:

I told you
locoDog wrote :
See examples of param_cast


 

Q: How does one code the end of an If-Then-Else block?

pseudo code:
if '$sngFader' = 0.500 Then
deck 1 select
else
deck 2 select
end if


VDJ script:
var_equal '$sngFader' 0.500 ? deck 1 select : deck 3 select

& var_list

var_list only executes in the ELSE block of the structure.

Brackets () don't work here.
I can't figure out how to end the conditional statement and continue on.

 

read my post on brackets in script, you'll find a link in the OP index.