Page 1 of 1

Help to communicate Resolume with JavaOSC

Posted: Sat May 18, 2019 19:52
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

Re: Help to communicate Resolume with JavaOSC

Posted: Sun May 19, 2019 20:48
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.