midicontrols
Open group of MIDI controls for reading
Syntax
Description
returns an object that listens to all controls on your default MIDI device.midicontrolsObject
= midicontrols
Call midiread
with the object to return
the values of controls on your MIDI device. If you call
before a control is moved,
midiread
returns the initial value
of your midiread
midicontrols
object.
listens to controls specified by midicontrolsObject
= midicontrols(controlNumbers
)controlNumbers
on your default
MIDI device.
specifies midicontrolsObject
= midicontrols(controlNumbers
,initialValues
)initialValues
associated with
controlNumbers
.
specifies the MIDI device your midicontrolsObject
= midicontrols(___,'MIDIDevice',deviceName
)midicontrols
object listens to,
using any of the previous syntaxes.
specifies the range of values returned by midicontrolsObject
= midicontrols(___,'OutputMode',mode
)midiread
and accepted as
initialValues
for midicontrols
and as
controlValues
for midisync
.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2016a