New LOM / live 11 - access to arrangement clips data in live

rubén's icon

Hello, i'm very exited about the possibility of accessing what's happening in arrangement view in live through M4L, but at first sight, with live 11 and the new LOM, can't figure out if it's possible to get when an arrangement clip starts to play and ends.
May be i'm wrong but can't find a "playing_slot_index" property equivalent to be observed for tracks in arrangement, for example to observe the ID of the clip that starts and ends in a track...
There is a "playing_status" property that can be observed for a clip in arrangement, but i can't make it work, i only get bangs on sending the message to live.observer, not when the clip starts or ends...
any help would be much appreciated!
best

dfwaudio's icon

playing_status only outputs bangs if the clip is playing, i think. 'property playing_position' does the magic for you.

Max Patch
Copy patch and select New From Clipboard in Max.

rubén's icon

Thanks, it seems that playing position only works for session clips, or at least i can't make it work for arrangement clips, just get 0.000...

Max Patch
Copy patch and select New From Clipboard in Max.

rubén's icon

Yesterday I tried an alternative afer posting here, it seems to work, i would prefer an object that gives me all this info at the track level but...

Max Patch
Copy patch and select New From Clipboard in Max.

you need a coll for every track and plugsync for output when every clip starts and ends (the data format is adapted to my needs)

dfwaudio's icon

oh... sorry. i didn't recheck my theory. But you can take the global song time and subtract the start_time of the selected clip, what is the current playing position of the selected clip.

Max Patch
Copy patch and select New From Clipboard in Max.

rubén's icon

Hi! i'm doing something related in the previous patch, i read all the starts/end times from all the clips in a track, store them in a coll besides the clipname, and outputs the values (start/end name) when the global play moves, so it works for my purposes, thanks!

Joe X Med O''s icon

Hey RUBÉN, can you share your patch of how you did it?

rubén's icon

Hi, i hope this works for you, had to extract the arrangement part from a bigger patch... it's a little bit messy

Max Patch
Copy patch and select New From Clipboard in Max.