Setguiboolvalue( id, value ), Getguiboolvalue( id ), Setothersguiboolvalue( other, id, value ) – Expert Sleepers MIDI & OSC Scripting v1.1.0 User Manual

Page 12: Getothersguiboolvalue( other, id ), Registeroscpathforparameter( path, param ), Pre-defined global values

Advertising
background image

setGUIBoolValue( id, value )

Sets a value that can be picked up by GUI objects. ‘id’ is a number between 0 and 7. ‘value’
is interpreted as a boolean value (true or false). See the GUI script method

indicator()

for a

typical usage.

getGUIBoolValue( id )

Gets one of the values that can be set with setGUIBoolValue(). ‘id’ is a number between 0
and 7.

setOthersGUIBoolValue( other, id, value )

As setGUIBoolValue() but sets the value on other instances of the plug-in - see
setOthersParameter() above.

getOthersGUIBoolValue( other, id )

As getGUIBoolValue() but gets the value from another instance of the plug-in - see
getOthersParameter() above.

registerOSCPathForParameter( path, param )

Registers the OSC path ‘path’ as controlling the parameter ‘param’ (which is a parameter
name or ID, as for e.g. setParameter()).

The OSC packet should include a float value after the path, which will be the value for the
parameter. E.g.

registerOSCPathForParameter( "/1/fader1", "Env 1 Scale" )

registerOSCPathForParameterNormalized( path, param )

As registerOSCPathForParameter() except that incoming OSC values in the range 0-1 are
renormalized to control the full parameter range between its minimum and maximum
values.

Pre-defined Global Values

The system defines some values before calling your script, which you can use to make the
script’s behaviour dependent on, for example, what kind of computer you’re using. These
values (which are pretty self-explanatory) are:

isMac

isWin

isVST

isAU

majorVersion

Advertising