Page 1 of 1

Basic OSC Problem

Posted: Sun Feb 05, 2017 19:09
by jb0815
Hi,

I just want to trigger clips using OSC with another application (Pangolin Beyond in that case)
I set up ip and ports on both apps , sent as example the following message (got from OSC mapping)
"/layer1/clip1/connect" which should do the job, but nothing happend in Resolume (5.1.3)!

I tried the same with a little Processing sketch, with no success again !
What did I wrong ? is there some kind of initialization command necessary before, or something else ?

Unfortunately Resolume seems to have no OSC monitor function (like Beyond) this would be helpful ....

Thanks in advance

Re: Basic OSC Problem

Posted: Sun Feb 05, 2017 21:29
by Zoltán
you have to send an Integer 1 to the "/layer1/clip1/connect" address.
- assuming the input and output ports are set up correctly.

Re: Basic OSC Problem

Posted: Tue Feb 07, 2017 08:29
by jb0815
Thank you !
Sometimes solutions can be so easy :D
I'll try it

Re: Basic OSC Problem

Posted: Wed Feb 22, 2017 18:09
by 1080-productions
I am having some what of the same issue, not being able to send the 1. How was this able to be solved?

Re: Basic OSC Problem

Posted: Wed Feb 22, 2017 19:39
by Zoltán
in your processing sketch you would have

Code: Select all

/* in the following different ways of creating osc messages are shown by example */
  OscMessage myMessage = new OscMessage("/test");
  
  myMessage.add(123); /* add an int to the osc message */

  /* send the message */
  oscP5.send(myMessage, myRemoteLocation); 
taken from one of the examples at: http://www.sojamo.de/libraries/oscP5/