Quick Sign In:  

Forum: General Discussion

Topic: Thanks for wait action
ThanksĀ  y'all for adding wait action. I can't tell you how long I struggled with repeat_start and stopwatch actions. The former works fine in time insensitive situations while the latter is more accurate but needs extra effort to make it so.

What makes "wait" great is the ability to work with beats. In many occasions when mixing we deal with beats and bars so it makes sense to have a time action that covers that.

//stopwatch example
I want to compare how I used to do some things verses how "wait" action simplified things for me
Let's look at some examples that I used to do with stopwatch, repeat_start_instant, param_pow, param_multiply, param_invert, variables, param_smaller and param_add combo in order just to time accurately beats

//old way
1beat = goto_cue & play & stopwatch_reset & set 'looptime' '`get_bpm & param_pow -1 & param_multiply 60 & param_multiply 1' & set 'playtime' '`param_invert & stopwatch & param_add -1 & param_multiply -1' & stopwatch_reset & repeat_start_instant time 30ms & get_var "playtime" & param_smaller "get_var looptime" ? play & set 'playtime' '`param_invert & stopwatch & param_add -1 & param_multiply -1' : mute off & cue_stop & repeat_stop time
1/2beat = goto_cue & play & stopwatch_reset & set 'looptime' '`get_bpm & param_pow -1 & param_multiply 60 & param_multiply 0.5' & set 'playtime' '`param_invert & stopwatch & param_add -1 & param_multiply -1' & stopwatch_reset & repeat_start_instant time 30ms & get_var "playtime" & param_smaller "get_var looptime" ? play & set 'playtime' '`param_invert & stopwatch & param_add -1 & param_multiply -1' : mute off & cue_stop & repeat_stop time
//new way
1beat = goto_cue & play & wait 1bt & cue_stop
1/2beat = goto_cue & play & wait 0.5bt & cue_stop

As you can see it saves alot. Let me even not get started on chaining the tasks since you already know how it's gonna go.

 

Posted Thu 17 Oct 24 @ 12:28 pm
AdionPRO InfinityCTOMember since 2006
Note that repeat_start also accepts beats as time in case you need it :)
 

Posted Thu 17 Oct 24 @ 12:37 pm
Yeah I noticed. It's only the documentation for repeat_start that needs to be updated.
 

Posted Thu 17 Oct 24 @ 1:31 pm
Hey VDJ Gurus

Can you help me correct this command?
Goal is to start the echo, wait 8beats and finish with the backspin, but only the echo works (no wait/backspin)

effect_active 'echo' on & effect_slider 'echo' 1 0.5 & effect_slider 'echo' 2 0.5 & wait 8 bt & volume -20% & effect_active 'backspin' on & macro_record 'backspin' 1 0.5

If I use the backspin separately in a command, it runs as long as the amount of seconds I predefine via the controller. Do you know how I can set it to 0,5 seconds via the command?

thanks a lot for your help!
 

Posted Sat 02 Nov 24 @ 9:35 am
locoDogPRO InfinityModeratorMember since 2013
effect_active 'echo' on & effect_slider 'echo' 1 0.5 & effect_slider 'echo' 2 0.5 & wait 8bt & volume -20% & effect_slider 'backspin' 1 0.5 & effect_active 'backspin' on

main error was adding a space between 8 and bt, not sure why you called macro_record, it's not a functioning script, also I guess you wanted backspin length slider set and probably best practice is to set length before calling fx on
 

Posted Sat 02 Nov 24 @ 10:42 am
Thanks a lot Locodog!

This works like a charm now!
However, indeed, the backspin slider doesn't change with a full number nor percentage, so I'll have to preset it beforehand. Strange though, because setting slider 1 & 2 on the echo effect does work in the command. Do you know of any other effects for which we can't define the slider in a command?
I'm gonna try out this new echo-wait-backspin command immediately ;-)
 

Posted Sat 02 Nov 24 @ 8:52 pm