I do pub quizzes...
I have always cut a file for the question (name the artist and name the song), and another for the answer.
It takes ages so I was hoping to be able to do the following in VDJ.
Set a variable to turn on quiz mode (Check):
When quiz mode is active 'Start' will:
fade in at hot cue 1 (Check)
goto_cue 1 & play & volume 0% & repeat_start 'fadein' 50ms 40 & volume +2.5% & repeat_stop 'fadein' ? volume >= 100%
& repeat_start_instant 'watchCue2' 100ms -1 &
param_bigger_equal `get_time` `cue_pos 2` ?
repeat_stop 'watchCue2' &
repeat_start 'myFade' 40ms 100 &
level -1% &
param_smaller_equal `get_level` 0.01 ? repeat_stop 'myFade' & stop & unload & level 1.0 : nothing
: nothing : nothing
fade out Check:
repeat_start myFade 40ms 100 & level -1% & level 0.0 ? repeat_stop myFade & stop & unload & level 1.0 :
at hot cue 2 (FAIL)
Stop and unload - Check
I will then reuse for cues 3 & 4 for the answer...
I do not want to use POI's. I have succeeded this way but it means I have to insert the script into every song. I want to do it as above...
This will allow me to turn off quiz mode and play the songs at half time while people are having a drink without the script stopping the tunes...
How can I get it to respect cue 2 as the drop off without using POI's (or not having to action script each song), i just want to add the 4 cues and be done.
I have always cut a file for the question (name the artist and name the song), and another for the answer.
It takes ages so I was hoping to be able to do the following in VDJ.
Set a variable to turn on quiz mode (Check):
When quiz mode is active 'Start' will:
fade in at hot cue 1 (Check)
goto_cue 1 & play & volume 0% & repeat_start 'fadein' 50ms 40 & volume +2.5% & repeat_stop 'fadein' ? volume >= 100%
& repeat_start_instant 'watchCue2' 100ms -1 &
param_bigger_equal `get_time` `cue_pos 2` ?
repeat_stop 'watchCue2' &
repeat_start 'myFade' 40ms 100 &
level -1% &
param_smaller_equal `get_level` 0.01 ? repeat_stop 'myFade' & stop & unload & level 1.0 : nothing
: nothing : nothing
fade out Check:
repeat_start myFade 40ms 100 & level -1% & level 0.0 ? repeat_stop myFade & stop & unload & level 1.0 :
at hot cue 2 (FAIL)
Stop and unload - Check
I will then reuse for cues 3 & 4 for the answer...
I do not want to use POI's. I have succeeded this way but it means I have to insert the script into every song. I want to do it as above...
This will allow me to turn off quiz mode and play the songs at half time while people are having a drink without the script stopping the tunes...
How can I get it to respect cue 2 as the drop off without using POI's (or not having to action script each song), i just want to add the 4 cues and be done.
发表时间 yesterday @ 6:02 pm
Mike Shaw wrote :
volume >= 100%
param_bigger_equal `get_time` `cue_pos 2` ?
param_smaller_equal
param_bigger_equal `get_time` `cue_pos 2` ?
param_smaller_equal
line 1 not a valid query
line 2 param_bigger_equal is not a verb, you want the not reply to param_smaller
line 2 get_time returns an integer, cue_pos returns a %, use song_pos instead of get_time
line 3 again not a verb, you want the not reply to param_bigger.
Additional your logic is messed up
repeat_stop 'fadein' ?
will never be found to be true.
check your pm
发表时间 yesterday @ 7:19 pm





