I have been working on a patch that sets a 4 bar loop with 1 press of a button.
There seems to be a lot of inconsistency when triggering the loop, sometimes it works correctly, sometimes it just sets the loop end with setting loop start and even sometimes it sets clip end + clip in markers instead.
I believe that the events should happen in this order:
1. Enable looping
2. Set Loop Start
3. Set Loop End
I tried adding delay between these steps. It didn't help.
Can anyone enlighten me?