Getallregistered, Exec s:func, Call s:func s:returnurl s:returnpath – Expert Sleepers Oomingmak v1.0.0 User Manual

Page 26

Advertising
background image

/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

below

). 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 describes 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