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.
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.
{
display: PatchController.Display,
maps: [PatchController.DisplayMap],
srcPrefix?: SynthPath,
l?: String,
id?: SynthPath,
w?: CoreGraphics.CGFloat
}Creates a custom data display, such as an envelope visualization.
{
l: String,
bold?: Bool,
size?: CoreGraphics.CGFloat,
id?: SynthPath,
w?: CoreGraphics.CGFloat
}Creates a non-interactive text label.
"-"Create a spacer item with a width of 2.