Page 1 of 1

OSC count clips in layers

Posted: Tue Jun 03, 2025 19:38
by Astro
Hello 👋

I'm trying to ask to resolume with OSC the number of clips present in a layer, is there a way to do that ?
I want to play random clip of a layer at a specific time with OSC, and i need to know the clips count of the layer to select a random index.

Thank you for your help :D

Re: OSC count clips in layers

Posted: Wed Jun 04, 2025 18:32
by Zoltán
You could ask the /composition/layers/2/clips/*/connected states by sending a "?" to this address, and where the replies are not int 0, there is a clip.