Created
October 19, 2023 16:38
-
-
Save zepadovani/7c5dd1eff0416dd0b6d00bccd9b097b1 to your computer and use it in GitHub Desktop.
SuperCollider, receive osc with any path pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// By using this, it is possible to get all messages coming in a specific port | |
thisProcess.openUDPPort(9000); | |
( | |
f = { |msg, time, replyAddr, recvPort| | |
msg.postln;"Working with any OSC path".postln; | |
}; | |
thisProcess.addOSCRecvFunc(f); | |
); | |
// stop posting. | |
thisProcess.removeOSCRecvFunc(f); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment