PDA

View Full Version : Next loop for all tracks?


Moody33
01-08-2010, 05:15 PM
I'd like to have a button for switching to next loop for all tracks without using group or focus. Is it possible? Could you show me a script?

Thanks a lot.

Per Boysen
01-08-2010, 07:10 PM
You simply type the line "For all" first.

A method I personally like better, and use, is to hit Focus Lock for all tracks and then use your usual NextLoop pedal/button/key. If assigning Focus Lock to the laptop's eight corresponding number keys you simply slide a finger along the row in order to activate all track's Focus Lock. And to unselect them slide a finger once again.

Moody33
01-09-2010, 03:24 PM
Thanks, but I don't understand anything at all :D

Focus lock solution seems to be boring since we have to select the tracks ( if i'm not wrong).
Could you please just show me the script for " next loop for all tracks"?

Thanks you a lot in advance

georgeludwig
05-22-2010, 03:49 AM
Per, can you elaborate on how you use "For all"?

Moody33, here us the solution I came up with, hope it helps:

# note which mode we are in, Next or Previous
Variable isNext = TRUE

# note which track we are currently in
Variable grgThisTrack = track

# "visit" all tracks, and either go next or previous depending on mode
# note that I only use 4 tracks
Track 1
if isNext == TRUE
NextLoop
else
PrevLoop
endif
Track 2
if isNext == TRUE
NextLoop
else
PrevLoop
endif
Message START 3
Track 3
if isNext == TRUE
NextLoop
else
PrevLoop
endif
Message START 4
Track 4
if isNext == TRUE
NextLoop
else
PrevLoop
endif

# make sure we go back to the track we were originally on when we started
Track grgThisTrack

bmalt
10-05-2011, 02:51 AM
These two scripts are working for me. Note: it appears that the "NextLoop" or "PrevLoop" commands when used within a "for" loop obey the track switch quantize setting. If you don't want to obey the switch quantize setting, you should be able to just add a command within the "for" loop to turn off switch quantize.

"Next" script - assign this to whatever control you want for GlobalNextLoop


!name GlobalNextLoop

for *
NextLoop
next


"Previous" script - assign this to whatever control you want for GlobalPreviousLoop


!name GlobalPrevLoop

for *
PrevLoop
next