views:

10

answers:

0

Anyone have an idea how to debug supercollider's OSCresponderNode?

I'm trying to catch messages from another program with this :

o = OSCresponderNode(nil, '/note', { arg t, r, msg; t.postln; r.postln; msg.postln; Synth( "guru2", [\mfreq, msg[1]]);  }).add;

However, when I fire messages at it, supercollider is just giving me

FAILURE /note Command not found

I'm assuming this is telling me that the supercollider server is successfully picking up a message to address /note, but that either a) the OSCresponderNode wasn't registered correctly, or b) the responder function has failed in some-way.

Am I right in assuming this?

Could it be a failure in defining the node? I don't get an error message when I execute that line. But maybe the callback function doesn't get executed and tested until it's actually triggered?