« Return to Thread: NetAddr

NetAddr

by William Brent-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I'm using Pd/Gem to do some motion tracking - sending particular OSC messages to SuperCollider when certain areas of the video have motion.  The only way I'm getting successful communication is to have the addr argument of OSCresponder set to nil.  When I specify a NetAddr for the video tracking computer in the standard way described in the helpfile, communication fails:

n = NetAddr("192.168.1.66", 57120);

o = OSCresponder(n, '/movement/1', { |t, r, msg| msg[1].postln }).add;

On the Pd side, things are the same either way: I make a connection to the SC machine's address, and start sending messages.  So the only difference between communication vs. failure is whether or not the OSCresponder acknowledges messages from anywhere, or only from a specific address.  I guess this is just as much a question for people on the Pd list, since it might be the way messages are coming out of Pd.

But maybe someone has already been down this path?  It would be nice to limit the awareness of this OSCr to one address.


As usual, thanks...
William


-- 
William Brent

"Great minds flock together"
Conflations: conversational idiom for the 21st century

www.conflations.com
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: NetAddr