Home

PatchController.PanelItem

This type pairs together a UI element (a control, or display) with an optional ID that can be automatically mapped to a patch parameter.

TODO: probably change this rule to be Object based rather than Array.

Create a dynamic control that adapts to the parameter to which it is mapped. E.g. a numeric parameter will map to a Knob, whereas a parameter with text-based options might map to a Select, or to a Switch if it only has a small number of options.

["switcher", [String], Object?]

Creates a switch control to switch between pages of a controller, or to change the prefix of a controller. The [String] specifies the labels on the control.

Creates a custom data display, such as an envelope visualization.

Creates a non-interactive text label.

"-"

Create a spacer item with a width of 2.