How does clip / connect command work

Just let it all out, buddy. You're among friends here.
Post Reply
grog57
Posts: 3
Joined: Sat Dec 25, 2021 18:51

How does clip / connect command work

Post by grog57 »

I find webserver and rest api extremely useful but I don't understand the clip / connect command.
I used "/ composition / layers / {layer-index} / clips / {clip-index} / connect", I connected clip 1 in layer 1 without problems, then clip 2 in layer 1. But when I try to connect again clip 1 does not connect and remains 2. Where am I wrong?
I tried the same procedure with "select" and it works perfectly. Thanks for your suggestions.

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

Re: How does clip / connect command work

Post by Zoltán »

Try using clip connect int 0 after int 1.
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

grog57
Posts: 3
Joined: Sat Dec 25, 2021 18:51

Re: How does clip / connect command work

Post by grog57 »

Thank you for your replay,
with true and false it works but it is a behavior that I do not understand, if I connect clip 1 and then clip 2 it is not necessary to disconnect clip 1. If I go back, clip 1 connects only after disconnecting (with false) both clips 1 and 2.

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

Re: How does clip / connect command work

Post by Zoltán »

The triggers work like if you'd be using your mouse button on them.
So latching a clip play on, would be like click and hold a mouse button on the clip. Sending the release message would be like releasing the mouse button.

Clips from a specific layer can play it multiple modes, piano playback for example would be a good use case for the above, but clips form layer 1 can also be set to play on the first free layer, where you could have multiple clips from layer 1 playing at once.
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

grog57
Posts: 3
Joined: Sat Dec 25, 2021 18:51

Re: How does clip / connect command work

Post by grog57 »

Ok, the doubt arose from the fact that SELECT works instead, I thought that CONNECT was similar regardless of the mode (normal or piano). However it is now clear. It still seems complex to me to create interfaces without the aid of special tools.

Post Reply