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
path
withval…
as arguments.socket
should be audp/socket
value. This argument can be omitted and the value be passed as a dynamic definition in*oscout*
instead.path
is the OSC path to send the message to. It should be a string-value.- the arguments can be any type:
num
will be sent asf
str
will be sent ass
bool
will be sent asT
/F
bang
will 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.