Is there a reason that loop_start/end target depend on the loop status

Learn about building and using Max for Live devices.
Post Reply
Angstrom
Posts: 14923
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Is there a reason that loop_start/end target depend on the loop status

Post by Angstrom » Fri Mar 01, 2024 2:18 am

I'm not sure if this has ever been explained anywhere. I had a search around and didn't find anything.

Why is there no way to set the clip loop braces while the Looping status is 0 ? And even worse - the properties are re-targetted to completely unrelated destinations if the clip loop flag is false.

In the Ableton Live GUI we can freely move the clip loop braces when the clip loop status is "off", but if we try to do that via the LOM it will move the clip start and end markers (which already have named properties of their own). It's weird. Such a core aspect of Ableton Live (clip loops) but never really worked correctly via the LOM.

Surely many users want to set loop start and end points, and THEN turn the loop on. EG: playhead is advancing from 5.0.0. and we decide to set a 4 bar loop starting at 17.0.0. Yet unless I've totally misunderstood it - we can't do that?

Code: Select all

loop_start
Typedouble
Accessget, set, observe
Description

For looped clips: loop start.
For unlooped clips: clip start.

loop_start and loop_end are in absolute clip beat time if clip is MIDI or warped. The 1.1.1 position has beat time 0. If the clip is unwarped audio, they are given in seconds, 0 is the time of the first sample in the audio material.

S4racen
Posts: 5842
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Is there a reason that loop_start/end target depend on the loop status

Post by S4racen » Fri Mar 01, 2024 6:09 pm

I've never found a reason, but it's a pain in the arse...

Making a DJ Style Clip Looper is way more complex than it needs to be....

Cheers
D

Angstrom
Posts: 14923
Joined: Mon Oct 04, 2004 2:22 pm
Contact:

Re: Is there a reason that loop_start/end target depend on the loop status

Post by Angstrom » Fri Mar 01, 2024 8:05 pm

S4racen wrote:
Fri Mar 01, 2024 6:09 pm
I've never found a reason, but it's a pain in the arse...

Making a DJ Style Clip Looper is way more complex than it needs to be....

Cheers
D
Yep. A DJ style clip looper is exactly what I was doing.

S4racen
Posts: 5842
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Is there a reason that loop_start/end target depend on the loop status

Post by S4racen » Sat Mar 02, 2024 1:18 pm

You have to plan the timing as well as you can't move the start after the end etc.

Cheers
D

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: Is there a reason that loop_start/end target depend on the loop status

Post by chapelier fou » Sat Mar 02, 2024 4:59 pm

I definitely agree, the API calls could be so much easier
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

Post Reply