Help to communicate Resolume with JavaOSC

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
Post Reply
gmccosta
Met Resolume in a bar the other day
Posts: 1
Joined: Sat May 18, 2019 19:43

Help to communicate Resolume with JavaOSC

Post by gmccosta »

Hey,

I'm using JavaOSC to build a java application to send OSC messages to Resolume.

At the Resolume preferences, I can see the messages are coming correctly, but the clip didn't start playing, can anyone help me?

Code: Select all

String myIP = "192.168.1.108";
        int myPort = 7000;

        OSCPortOut oscPortOut;

        Thread oscThread = new Thread();

        try {
            oscPortOut = new OSCPortOut(InetAddress.getByName(myIP), myPort);
        }catch (UnknownHostException e){
            return;
        }catch (Exception e) {
            return;
        }
        
        if(oscPortOut != null){
                
                Object[] thingsToSend = new Object[3];
                thingsToSend[0] = 1;
                
                OSCMessage message = new OSCMessage(myIP, thingsToSend);
                message.setAddress("/composition/layers/1/clips/1/connect/composition/selectedclip/connect");
                
                try{
                    oscPortOut.send(message);
                }catch(Exception e){
                }
Image

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

Re: Help to communicate Resolume with JavaOSC

Post by Zoltán »

The address should be either
/composition/layers/1/clips/1/connect/
or
/composition/selectedclip/connect

The first will always connect the layer 1 column 1 clip, the second one will connect whichever clip is selected.
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