[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Re: OSC on Super Collider 3.8 Windows



Dear List,

I forgot to add that from within SuperCollider OSCFunc seems to work perfectly

n = NetAddr("127.0.0.1", NetAddr.langPort); // local machine
OSCFunc.newMatching({|msg, time, addr, recvPort| msg.postln; }, '/data', n); // path matching.

m = NetAddr("127.0.0.1", NetAddr.langPort); // loopback
m.sendMsg("/data", "Hello App 1");

only

var writer = new UDPWriter("127.0.0.1", 57120);
writer.Send(new OSCElement("/data", 500);

does not work.

would you know of any other way to test OSC communication on Windows like a simple commandline client or another program that acts as a client to test?

Best,

Florian


On 21/12/16 11:29, Florian Grond wrote:
Dear List,

I'm trying to set up an OSC communication on a Windows 10 enterprise computer
The client program is written in C# using the Ventuz.OSC  and/or  Bespoke library.

We use SC 3.8 the firewall is off.

We would expect to see messages come in, if we send from the C# program to port 57120 on the 127.0.0.1

var writer = new UDPWriter("127.0.0.1", 57120);
writer.Send(new OSCElement("/data", 500);

and setup in SuperCollider:

n = NetAddr("127.0.0.1", NetAddr.langPort); // local machine
OSCFunc.newMatching({|msg, time, addr, recvPort| msg.postln; }, '/data', n); // path matching.

If you know of any OSC library that you would recommend any .net solution is good
 
Any advice very much appreciated,

Florian



-- 
--8<-------8<-------- hier abtrennen -----8<--------8<---- 

F l o r i a n   G R O N D

Post-doctoral fellow McGill university IDMIL (Input Device and Music Interaction Laboratory)

Affiliate member at the Centre for Interdisciplinary Research in Music Media and Technology
http://www.cirmmt.org/

phone +1 514 995 7683

http://www.grond.at

-->8------->8-------- hier abtrennen ------->8------>8----