Sending OSC to other applications from Server

Yes. You’d need to log into the server from the other app – see e.g. SendReply help – “A message is sent to all notified clients” where “notified” means that you’ve sent a /notify message, so that the server knows where to send messages to.

For example… I don’t have processing installed now, but I did get it to work in Pd:

SC side:

s.options.maxLogins = 2;  // 1 login for sclang, 1 for the other app
s.boot;

a = {
	var lfo = LFDNoise3.kr(0.1);
	SendReply.kr(Impulse.kr(10), '/lfo', lfo);
	Silent.ar(0)
}.play;

Then: 1. Connect the OSC sender. 2. Send [/notify, 1] to log in (in Pd, it’s /notify 1). 3. Get messages coming into the Pd originating port.

So you’d need the processing equivalent of these Pd constructions.

hjh

3 Likes