Register a function to be called upon receiving a specific command from a specific OSC address. Same interface like OSCresponder, but allows multiple responders to the same command.
Note that OSCresponderNode evaluates its function in the system process. In order to access the application process (e.g. for GUI access ) use { ... }.defer;
Other applications sending messages to SuperCollider should distinguish between sending messages to the server or the language. Server messages are documented in the Server Command Reference and should be sent to the server's port - s.addr.port
- which is 57110 by default. Messages sent to the server will not be processed by any OSCresponder in the language.
Messages from external clients that should be processed by OSCresponders must be sent to the language port, 57120 by default. Use NetAddr.langPort
to confirm which port the SuperCollider language is listening on.
See OSC Communication for more details.