That's quite interesting. I will play around a little with CUE on and off. It's good to know that GTL will still sync beats with Ableton Link.
Just to understand correctly: when CUE is off, I need to hit my MIDI pedal pretty much exactly on the spot when I want to start recording, right? How "forgiving" is GTL? The thing is that I need to change some presets in AUM in the same moment, and they usually need a second or so to load, so they would be ready. So I need to provide the signal a little bit before the actual beat. Maybe I could have the general rule that I press the record button within the last 4 beats of the "previous" loop, and using Mozaic the execution of it would be postponed and timed exactly on @OnNewBar
.
A last resort (but maybe the most powerful solution) would be to disable Ableton completely, enable CUE (I think it's a very useful feature to have) and to keep track of all the information inside Mozaic (I only need to make sure that the tempo in both GTL and AUM is equal, I guess). As long as I only interact with GTL through Mozaic, I could probably keep a "mirror" of GTL's state inside my script and as such could create my own triggers which are tied closely to GTL's behaviour. I'm unsure though whether not any "inprecisions" would appear after a while, because in the end AUM/Mozaic and GTL are not "really" tied to each other, both keep their own timeline (which hopefully do not drift apart from each other)...