Visual Components in Designer

since 1.1.0

Spektar VSTGUI designer allows creating VSTGUI definitions for VST Plugins. The designer can be opened from the main window, by clicking Designer button below the main Schematic pane.

Switch between Designer and Schematic views

You can switch back to schematic by clicking the Schematic button.

Knob

Knob is the VSTGUI designer element for rotary potentiometers.

Knob

Knobs typically have locked aspect ratio and are backed by a bitmap strip. Like all controls they require a control-tag which binds them to a specific control in the design.

Tip: Always keep knob sizes at integer values. Non integer sizes can have some annoying side-effects in VSTGUI.

Slider

Slider is the VSTGUI designer element for sliding potentiometers.

Slider

Sliders typically do NOT have locked aspect ratio. In VSTGUI, they have background bitmap and handle bitmap. Although there are other modes (e.g. draw-value in VSTGUI), Spektar uses only bitmaps.

Like all controls sliders require a control-tag which binds them to a specific control in the design.

Horizontal switch

Horizontal Switch allows switching between arbitrary number of states.

Horizontal Switch

Horizontal switch typically has locked aspect ratio and is backed by a bitmap strip.

Like all controls, this requires a control-tag which binds them to a specific control in the design. The control in question should be “SWITCH” type, although this is unlikely to be enforced by Spektar or by VST host.

Rotary switch

Rotary Switch allows switching between arbitrary number of states.

Rotary Switch

Rotary switch typically has locked aspect ratio and is backed by a bitmap strip.

Like all controls, this requires a control-tag which binds them to a specific control in the design. The control in question should be “SWITCH” type, although this is unlikely to be enforced by Spektar or by VST host.

Waveform switch

Waveform Switch allows switching between 5 states provided by the Oscillator component.

The states are SIN, SQU, SAW, SUP, SDN, corresponding to Sine, Square, Saw, Saw Up and Saw Down waveform shapes.

Waveform Switch

Waveform switch typically has locked aspect ratio and is backed by a bitmap strip.

Like all controls, this requires a control-tag which binds them to a specific control in the design. The control in question should be “SWITCH” type and bound to the Oscillator “Type” port, although this is unlikely to be enforced by Spektar or by VST host.

On Off Button

A switch between 2 states - On and Off, visually represented as a button or a switch.

OnOff

OnOff switch typically has locked aspect ratio and is backed by a bitmap strip.

Like all controls, this requires a control-tag which binds them to a specific control in the design. The control in question should be “SWITCH” type and have two states, although this is unlikely to be enforced by Spektar or by VST host.

Rocker Switch

A switch between 2 states - On and Off, visually represented as a switch.

Rocker in on state

VSTGUI rocker switch has somewhat weird and unexpected behaviour. It always show “middle” state without indication whether the switch is on or off. When clicked to the right of the middle, it turns on, but visuals switch back to middle state in ~500ms. When clicked to the left of the middle, it turns off and visuals again switch back to middle. It is hard to understand what could be the purpose for such switch.

Rocker switch typically has locked aspect ratio and is backed by a bitmap strip.

Like all controls, this requires a control-tag which binds them to a specific control in the design. The control in question should be “SWITCH” type and have two states, although this is unlikely to be enforced by Spektar or by VST host.

VU and indicators

VU

VU meters are implemented in somewhat odd way so please read this carefully.

In order to expose necessary internal signals for use as VU control-tag, the schematic must include a VU component. VU component in schematic has autoexport ports so these immediately become available in designer to use for VU designer components.

Vu in schematic

Then, in Designer, we need two VU components for two channels

VU in designer.

Each VU designer component is mono - so typically you will create two in designer. In schematic, a single VU component is sufficient as it has two inputs.

Then simply assign control-tags from the properties pane dropdown to each VU in Designer.

VU in designer does NOT have a locked aspect ratio so can be scaled to suit the needs.

Indicators

In the absence of VSTGUI component for simple on/off indicators, Spektar includes a customisation of VU that can serve this purpose.

As above, you need to add VU component to designer first and connect the ports you want to indicate. Then in designer, add a VU and choose one fo the On-Off styles. Of course, make sure control-tag is set iin designer.

VU indicator