: midisync (midicontrolsObj)
: midisync (midicontrolsObj, ctrlvalues)

Send the values of control object to the control, using ctrlvalues values if specified instead

Inputs

midicontrolObj - control object created using midicontrols
ctrlvalues - values to send to the controls instead of initial values

Outputs

None

Examples

Send sync command to a midicontrols with a ctrlid 2001 to set a value of 1

ctrl = midicontrols(2001)
midisync(ctrl, 1);

See also: midicontrols.

Package: audio