Getall s:returnurl s:returnpath, Getnumparameters s:returnurl s:returnpath, Isparameterused i:param s:returnurl s:returnpath – Expert Sleepers OSC Control v1.0.0 User Manual
Page 5: Getinfo i:param s:returnurl s:returnpath, Registerupdate i:param s:returnurl s:returnpath
i:param f:value
where ‘value’ is the value of parameter ‘param’. E.g.
/get 14 osc.udp://10.0.0.2:7000 “/foo”
replies to 10.0.0.2:7000 with (assuming parameter 14 has the value 64.0)
/foo 14 64.0
/getAll s:returnUrl s:returnPath
Behaves exactly as if a /get message was received for every parameter.
/getNumParameters s:returnUrl s:returnPath
Responds by sending a message back to the returnUrl and returnPath with the parameters
i:numParameters
where ‘numParameters’ is the total number of parameters defined by the plug-in. E.g.
/getNumParameters osc.udp://10.0.0.2:7000 “/foo”
replies to 10.0.0.2:7000 with (assuming the plug-in has 84 parameters)
/foo 84
Note that there can be ‘gaps’ in the array of parameters - see isParameterUsed below.
/isParameterUsed i:param s:returnUrl s:returnPath
Responds by sending a message back to the returnUrl and returnPath with the parameters
i:param b:isUsed
where ‘isUsed’ is ‘true’ if parameter ‘param’ is used, and ‘false’ otherwise. Parameters that
are not used should not be used for any other call e.g. the getInfo call below.
/getInfo i:param s:returnUrl s:returnPath
Responds by sending a message back to the returnUrl and returnPath with the parameters
i:param f:minValue f:maxValue f:defaultValue s:name i:unit
where ‘minValue’ and ‘maxValue’ are the minimum and maximum values that parameter
‘param’ can take, ‘defaultValue’ is the default value of the parameter, ‘name’ is the name of
the parameter, and ‘unit’ is a value that indicates the unit of the parameter (e.g. Hz, db,
seconds). The unit is one of the values defined by Apple’s Audio Unit specification.
/registerUpdate i:param s:returnUrl s:returnPath
Requests that when the parameter ‘param’ changes, a message is sent back to the re-
turnUrl and returnPath with the parameters
i:param f:value
where the returned parameters have the same meaning as for the /get command (above).