I'm playing around with loop_button and have noticed that there's a ~4 second timeout if the button isn't triggered a second time, preventing it from being used for medium/long loops. Is there any way to bypass this timeout (without manually recreating the loop_button logic)?
Thanks!
b8322
Thanks!
b8322
Posted Mon 23 Sep 24 @ 3:44 am
It's not time based, it's beats, 8 to be exact.
Posted Mon 23 Sep 24 @ 4:11 am
Hi Loco,
I thought it was based on beats at first, but changing the bpm doesn't affect the max length. 120bpm = 8 beats = 4s, 60 bpm = 4 beats = 4 seconds, 240 bpm = 16 beats = 4s.
Either way, there's still an artificial limitation I'd like to bypass :)
I thought it was based on beats at first, but changing the bpm doesn't affect the max length. 120bpm = 8 beats = 4s, 60 bpm = 4 beats = 4 seconds, 240 bpm = 16 beats = 4s.
Either way, there's still an artificial limitation I'd like to bypass :)
Posted Mon 23 Sep 24 @ 12:58 pm
Looks like you might have to fashion something yourself.
I'd still probably have some sort of limit in there, just in case you bail on the idea mid setting.
cycle a variable, if 1 ? loop in, start a rsi looking for loop engaged in X seconds, if so ? nothing : if not return var to 0 : if 2 ? set loop out, start a rsi watching for external loop 0, if so ? return var to 0, stop rsi : if no loop 0 do nothing : if var 0 ? end rsi, loop exit
something like that.
I'd still probably have some sort of limit in there, just in case you bail on the idea mid setting.
cycle a variable, if 1 ? loop in, start a rsi looking for loop engaged in X seconds, if so ? nothing : if not return var to 0 : if 2 ? set loop out, start a rsi watching for external loop 0, if so ? return var to 0, stop rsi : if no loop 0 do nothing : if var 0 ? end rsi, loop exit
something like that.
Posted Mon 23 Sep 24 @ 4:20 pm
I wrote in a little variable to help with this issue;
Perhaps someone else might find it handy.
<map value="0-BUTTON49" action="deck 1 loop ? deck 1 loop_exit & set '@$d1loop' 0 : var '@$d1loop' 1 ? deck 1 loop_out : & var '@$d1loop' 0 ? deck 1 loop_in & set '@$d1loop' 1" />
Perhaps someone else might find it handy.
Posted 7 days ago @ 5:26 pm
I decided I'd rather have a loop set based on holding and releasing the button. Hold to start loop, release to mark end of loop. Press loop while in a loop to exit the loop.
down? loop? set %leavingLoop 1 & loop_exit : loop_in
: var %leavingLoop 1 ? loop_exit & set %leavingLoop 0 : loop_out
down? loop? set %leavingLoop 1 & loop_exit : loop_in
: var %leavingLoop 1 ? loop_exit & set %leavingLoop 0 : loop_out
Posted 2 days ago @ 2:05 am