Expressions

$ Expression format
specifies an object to send/receive a value to/from.
$ = set val a execution time , % = set val at input time (eval to a number).

Set expression go on the LHS (where OSC message ID goes) of the event, so they shouldn't have arguments.

Get Expression go on the RHS (where values go), they can have arguments if needed.

MIDI format

  • Set:$m:<device_number>:<partNum>_<controlNum>:[v|s|o]:[controlIndex]
  • Get:[%$]m:<device_number>:<partNum>_<controlNum>:[v|s|o]:[controlIndex]
CharacterFunction
vset value.
sset scale.
oset offset.
controlIndexindex of the controllsetting under that control.
if controlIndex is omitted then the setting is applied to all controlsettings under that control

Timeline format

  • Set:$t:[<timeLineId>|current]:[p|l|x|v|c|w]:[parameterIndex]
  • Get:[%$]t:[<timeLineId>|current]:[p|l|x|v|q|b|r|c|w]:parameterIndex
CharacterFunction
currentcurrent time line.
ptoggle play mode.
ltoggle loop mode.
xget/set position.
wget/set pitch.
vget/set parameter at (optional) parameterIndex. if no index then the parameters are set as a list.(current list is replaced).
qget quantization timelength(ms).
bget beat timelength(ms).
rget bar timelength(ms).
ccurrent event index.
no [p|l|x|v|q|b|r|c|w](get) return timeline object.

Event format

  • Set:$e:[<timeLineId>|current]:[<eventIndex>|current]:[v|i|m|f]:[valueIndex]
  • Get:[%$]e:[<timeLineId>|current]:[<eventIndex>|current]:[v|i|m]:[valueIndex]
CharacterFunction
currentcurrent time line.
vget/set value.(optional valueIndex)
iget/set oscMsgName.
mget/set oscIndex.
ffire event(set only). data is ignored.
no [v|i|m](get) return event.

Function (Java method call) format

  • Set:$f:<var_name>=<class_name>:<methodname>:[n]:
  • Get:[%$]f:<var_name>=<class_name>:<methodname>:[n]:(<args>)
  • objects are stored in a global hash array.
  • if <var_name> then new object always used.
  • if <class_name> then retreive object from global array for this <var_name>
  • in Set event values are used for method arguments.
CharacterFunction
nnew object.
args(, separated) (only in get) evaluated objects to send to function ($T=timeline).


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 1.6.1.13621 - Documentation