Module osc
osc device
The norns script reference
has examples for this module.
-
event (path, args, from)
-
static callback when an osc event is received.
user scripts can redefine.
Parameters:
- path
string
: osc message path
- args
string
: osc message args
- from
table
: a {host, port} table with the source address
-
send (to, path, args)
-
static method to send osc event.
Parameters:
- to
table
: a {host, port} table with the destination address
- path
string
: osc message path
- args
string
: osc message args
-
cleanup ()
-
clear handlers.