We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Isadora & Processing OSC signals
Page Index Toggle Pages: 1
Isadora & Processing OSC signals (Read 1486 times)
Isadora & Processing OSC signals
May 15th, 2010, 9:57am
 
Hi there!

I'm trying to figure out how to communicate between isadora and processing via OSC signals. I want to send a certain value to processing but can't find the solution. (You can download the free demo of isadora on http://www.troikatronix.com/isadora.html)

I've set up a OSC sender in isadora like this:
...

I used the oscP5 library to receive the value from isadora.
Code:
import oscP5.*; 
import netP5.*;

OscP5 oscP5;
NetAddress myRemoteLocation;

void setup() {
 oscP5 = new OscP5(this,1234);
 myRemoteLocation = new NetAddress("127.0.0.1",1235);
}

void draw() {
}

void mousePressed() {
 OscMessage myMessage = new OscMessage("/1");
 oscEvent(myMessage);
}

void oscEvent(OscMessage theOscMessage) {
 print("### received an osc message.");
 print(" addrpattern: "+theOscMessage.addrPattern());
 println(" typetag: "+theOscMessage.typetag());
}


I found a post of someone who figured it out here (http://processing.org/discourse/yabb2/num_1206527525.html#2)

I can't find the problem can someone help me please
Is it the address field in isadora or is there something wrong with my sketch in processing

Cheers,
Oliver
Re: Isadora & Processing OSC signals
Reply #1 - May 18th, 2010, 11:58am
 
Found it thanks to a teacher! For people who are also searching, we used the plug function..

http://www.sojamo.de/libraries/oscP5/reference/oscP5/OscPlug.html
Page Index Toggle Pages: 1