A CVMidiEditGroup is a group of Buttons and TextFields, similar to the MIDI-editing area in a CVWidgetKnob or CVWidget2D. Every CVMidiEditGroup consists of:
create a new CVMidiEditGroup within parent
. CVMidiEditGroup is currently used within CVWidgetMSEditor only and there shouldn't be any need to call new
directly.
parent |
a View that takes the GUI-elements |
bounds | |
widget |
the widget: a CVWidgetKnob, a CVWidget2D or a CVWidgetMS. |
slot |
the numeric slot within a CVWidgetMS (CVMidiEditGroup is currently used only within the context of CVWidgetMS). |
a CVMidiEditGroup
remove a CVMidiEditGroup
this (a CVMidiEditGroup
)
A Button that, if clicked, either triggers the MIDI-learn functionality (button-label: "L") or creates a CCResponder for the values entered in -midiSrc, -midiChan or/and -midiCtrl (button-label: "C"). If a CCResponder is present the button-label gets changed to "X" - upon clicking the responder gets removed again.
a Button
A TextField displaying the ID of a connected MIDI-device. If no CCResponder is present one may enter the ID of a device (if known) and when clicking the -midiLearn button the widget will create a CCResponder listening to that device.
A TextField displaying the channel for an existing CCResponder or, if none is present, one may use this field to set the channel for which the CCResponder shall be created.
A TextField displaying the controller-number of an existing CCResponder or, if none is present, one may use this field to set the controller-number for which the CCResponder shall be created.
0
- if 0
gets entered here the controller will be displayed as 1
as most devices will probably number their knobs and sliders beginning with 1
. Also, the way controller-numbers are displayed is related to the ctrlButtonBank
setting which can be set with CVWidget: -setCtrlButtonBank