Switching decks via OSC logic

Post your questions here and we'll all try to help.
Post Reply
lamaboy
Posts: 2
Joined: Mon Oct 26, 2015 12:19

Switching decks via OSC logic

Post by lamaboy »

hi all !

i'm having a problem trying to control Resolume from VVVV via OSC. I wanna achieve a simple task but I don't get the logic of switching decks and clips.

I'm able to play clips with the /layerX/clipX/connect address, but I'd like to switch decks from time to time and then play clips in that new deck without touching Resolume's interface. I used the /composition/deckX/select address, but it seems that I have to manually clic in the deck in Resolume for the switch to occur : otherwise, nothing would happen when I try to play a new clip.

I guess there's something I've missed with the logic of OSC triggers, but I can't figure out what.

Any help is greatly appreciated :)

Thnx!

EDIT forgot to mention : when I send the OSC message that switches deck, I see the change happening in Resolume (the tab actually switches) but then when I send try to play a clip in that deck, nothing happens.

EDIT 2 : there's something else : if I'm playing deck1/layer1/clip1 and that I switch to /deck2 and try to play /deck2/layer1/clip1, nothing happens. But, if I switch to deck2 and try to play /layer1/clip2, it works ! How could I play deck1/layer1/clip1 and then switch to deck2/layer1/clip1 ?

EDIT 3 : Okay, clearing the leayer before a deck change seems to solve the problem ... could anyone confirm this is the right way to do ? What if need to change the deck without clearing the layer ?

Thanks !

User avatar
Oaktown
Resolume honorary member
Posts: 2837
Joined: Tue May 08, 2012 15:19
Location: Oakland, CA

Re: Switching decks via OSC logic

Post by Oaktown »

To make sure there is no confusion:
  • - changing decks should have no incidence on what clips are playing
    - your whole deck needs to be loaded before you can trigger clips or columns which will become more noticeable as your decks grow bigger
Now with OSC, if you change decks using OSC and try to trigger clips or columns, you need to make sure there is enough time for your deck to load of the clip/column trigger might not happen. When I have larger deck, I will typically change decks as soon as I can and then trigger the column I need when needed.

I don't know how VVVV works but in Vezer I use syntax where $ gets replaced by an integer to trigger deck or column changes:
  • /composition/deck$/select
    /track$/connect
so for instance if I want to triggr deck 2, I keyframe 2 in my timeline and Vezer would trigger /composition/deck2/select 1
EDIT 2 : there's something else : if I'm playing deck1/layer1/clip1 and that I switch to /deck2 and try to play /deck2/layer1/clip1, nothing happens. But, if I switch to deck2 and try to play /layer1/clip2, it works ! How could I play deck1/layer1/clip1 and then switch to deck2/layer1/clip1?
You can't play clips in various decks and /deck2/layer/clip1 is not a resolume OSC syntax which is why it doesn't work.

The proper order would be to trigger /composition/dec2/select 1 , then /layer1/clip2 1 when your deck is loaded. An alternative, you could switch to layer focus and use /layer1/select 1 and use /activelayer/clip2/connect 1 to trigger the second clip

lamaboy
Posts: 2
Joined: Mon Oct 26, 2015 12:19

Re: Switching decks via OSC logic

Post by lamaboy »

Hey Oaktown,

Thanks for that answer ! Never realy used Resolume before, so these indications are very welcome :)

Concerning "/deck2/layer/clip1", I was not refeiring to an OSC syntax but just to the location of the clip I was talking about.

Post Reply