Unregisterupdate i:param s:returnurl s:returnpath, Getallregistered, Exec s:func – Expert Sleepers OSC Control v1.0.0 User Manual

Page 6: Call s:func s:returnurl s:returnpath

Advertising
background image

/unregisterUpdate i:param s:returnUrl s:returnPath

Cancels a request made via /registerUpdate (above).

/getAllRegistered

Behaves exactly as if every parameter registered for updates with /registerUpdate had
changed. A message will be sent for every such parameter.

/exec s:func ...

Executes the Lua function ‘func’, which is assumed to be defined by the MIDI & OSC
scripting system (see the separate documentation, available from the Expert Sleepers web-
site). OSC parameters following ‘func’ are passed through to the Lua function, as can best
be managed given the varying limitations of the two. Specifically, the following table de-
scribes the mapping from OSC types to Lua types:

OSC

Lua

bool

bool

float

number

double

number

int32

number

int64

number

string

string

nil

nil

/call s:func s:returnUrl s:returnPath ...

As /exec, but also responds to the returnUrl and returnPath with the results of the Lua
function call. The following table describes the mapping from Lua return values to OSC
types:

Lua

OSC

number

float

string

string

Lua types not in the above table are not handled.

Advertising