Page 1 of 1

OSC message order on clip change in same layer

Posted: Thu Feb 26, 2026 20:13
by Cunabula
Hello,

Possibly very niche problem but here goes:

Is it possible to change the order that clip connected messages are sent when changing clips in a layer? I'm asking because what I actually want to be able to tell is whether a layer is currently playing a clip or not and I can't see a layer level message for that information

From what I can see, OSC messages regarding clip state are sent in numerical order by clip

So changing from say Layer 1, Clip 1 to Layer 1, Clip 2 the OSC messages sent out are:

/composition/layers/1/clips/1/connected : 1
/composition/layers/1/clips/2/connected : 3


This is great, any most recent message from a layer with an argument > 2, there's a clip playing in that layer.

The problem is if you want to go to a lower numbered clip then the messages on transition are

/composition/layers/1/clips/1/connected : 3
/composition/layers/1/clips/2/connected : 1


It would be very helpful if they were instead always in the order:

Clip Stopping
Clip Starting


Then you'd have the current state of the layer without creating a new type of OSC message or having do anything fiddly with how you're handling the messages externally, which I expect I'm about to do.

Anyway, said it would be a bit niche, but it would be helpful :)