Support |
Many functions that you call from scripts don't happen right away, they may be quantized, or they may be delayed slightly for latency compensation. If you need to ensure that something in a script happens after the last function eventually completes, add the "Wait last" statement.
!name trigger1-3track1loop1Wait lastvariable newFrame = loopFrames*2/3move newFrameend
This is usually only necessary if you are changing tracks and loops.
Jeff
From: Sylvain Poitras <sylvain.trombone@gmail.com>
Reply-To: "Loopers-Delight@loopers-delight.com" <Loopers-Delight@loopers-delight.com>
Date: Friday, May 3, 2013 3:15 PM
To: "Loopers-Delight@loopers-delight.com" <Loopers-Delight@loopers-delight.com>
Subject: Mobius Scripting - Switching and Moving
Resent-From: "Loopers-Delight@loopers-delight.com" <Loopers-Delight@loopers-delight.com>
Resent-Date: Friday, May 3, 2013 3:15 PM
Can anyone tell me how I can switch loops and move to a loopFrame with a Mobius script? The following scripts works as expected without the loop1 call, but switching loops seems to cancel the move. I'm guessing it has much to do with my switching presets, but I've tried all I can think of here...
!name trigger1-3track1loop1variable newFrame = loopFrames*2/3move newFrameend