OSC count clips in layers

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
Astro
Posts: 1
Joined: Tue Jun 03, 2025 19:29

OSC count clips in layers

Post 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

Zoltán
Team Resolume
Posts: 7517
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: OSC count clips in layers

Post 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.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

Post Reply