osc module reference
osc module reference
OSC integration.
index
- Create a UDP remote.
- alias of
recv! - Create a UDP server.
- Receive OSC messages.
- Send an OSC message.
details
- Create a UDP remote.
(osc/connect host port) - Create a UDP server.
(osc/listen port bind-addr) - Receive OSC messages.
(osc/recv! [socket] path [type-str]) - Send an OSC message.
(osc/send [socket] path [val…])Sends an OSC message to
pathwithval…as arguments.socketshould be audp/socketvalue. This argument can be omitted and the value be passed as a dynamic definition in*oscout*instead.pathis the OSC path to send the message to. It should be a string-value.- the arguments can be any type:
numwill be sent asfstrwill be sent assboolwill be sent asT/Fbangwill be sent asI- arrays will be unwrapped
- structs will be sent as a series of key/value tuples
This is a pure op, so between the values at most one !-stream input is allowed.