Read current values of midi controls
midicontrolObj - control object created using midicontrols
val single value or array of current values from the midi device.
Read current value of midicontrols with a ctrlid 2001 on the default midi device.
ctrl = midicontrols(2001) val = midiread(ctrl);
Read current value of midicontrols with a ctrlid 2001 on a non default midi device.
ctrl = midicontrols(2001, 'mididevice', 1) val = midiread(ctrl);
See also: midicontrols, midisync.
Package: audio