Basic Controls

The following picture demonstrates typical Graphical User Interface (GUI) of plugin:

Each plugin consists of the following elements:

Colors of widgets may vary but the color scheme of widgets often follows these rules:

Below the detailed description of controls is present.

Audio File

File widget – initial condition:

File widget – error message:

File widget – file loaded:

AudioFile widget is used for loading and editing audio files. It tells to the plugin the actual location of file on file system.

By default there is no file associated with plugin, so the file widget displays 'Click or drug to load' text.


By clicking left mouse button on the widget you may open file choosing dialog and select the file to use by plugin.

After the path to the file will be passed to plugin, the plugin starts to load the file, and the status displayed by the file widget changes. If file was successfully loaded, file widget will display the corresponding content of the file and it's name (without path). On error, error message is displayed with red color.


By clicking right mouse button, popup dialog appears that allows to cut, copy, paste and clear contents of widget

There is also the way to force plugin to unload file. For this purpose simply double-click by right mouse button on widget's area if popup menu does not appear.

Button

Buttons are mostly used to turn on/turn off some binary parameter. Rarely they are also used for switching between different processing modes (See LSP Delay Compensator Mono plugin for example). There are two different types of buttons:

  • push/pop - these buttons allow to change the state of parameter and keep it until next button push occurs.
  • trigger - these buttons allow to trigger some event while the button is pressed and return to initial state when the button is released.

Push/pop buttons may be pressed by left mouse button click and do not affect any parameter changes until the left mouse button is released over the button widget. It is possible to cancel button press by moving mouse cursor out of the widget's area or by additionally pressing right mouse button.

Trigger buttons have radically different behaviour. They trigger event on left mouse button click and every time they fall into pushed state. So there is possible to trigger sequence of events by pressing left mouse button over the button and repeatedly moving mouse cursor outside widget's area and back.

For space economy and clarity improving purposes buttons may be combined with LEDs.

Here is example of different button widgets:

Combo

Combo is a drop-down list that in normal state displays only currently selected item. When clicking by left mouse button, it shows drop-down list with all possible variants for choosing. Only one list item may be selected at the same time.

It is very useful for defining controls that use enumerations or for switching between different control groups.

Here is example of combo box widgets:

Combo Group

Combo group is a Group control that allows to select the displayed content by calling a drop-down list. The drop-down list is accessible by clicking with left mouse button the header header of the group.

Here is example of combo group widget:

When clicking the group header, we get all possible variants for choosing widget groups for displaying:

Fader

The Fader widget allows to adjust value for continuous parameters in the pre-defined range.

It is possible to achieve more precision by using the right mouse button instead of left when changing fader's value.

To cancel editing, the opposite mouse button should be pressed (right if used left and vice verse).

To reset parameter to it's default value, issue double click by the left mouse button.

File Saver

This widget allows to choose the file and tell plugin to save some data to it. It also allows to display progress and status of operation.

Fraction

This widget allows to set-up time signature of the audio that is present as a fraction where top and bottom parts are integer values. Both numerator and denominator of fraction is adjustable by mouse wheel. Also, when clicking numerator or denominator with left mouse button, popup list box appears that allows to quickly set the required value.

Graph

Graph is special widget for displaying graphical information about processes that flow in the DSP core of plugin. It may contain lines, text labels, different curves (meshes), markers and dots.

Example of graph widget:

All elements of graph except dots can not change input parameters of plugin. Dots may control simultaneously up to three parameters by the following events:

  • moving dot horizontally;
  • moving dot vertically;
  • scrolling mouse wheel over the dot.

By moving dot over the graph widget two parameters may be changed simultaneously. This can be done by left-clicking on the dot, holding mouse button and moving mouse cursor over the graph widget's area. Also, additional tolerance may be reached by right-clicking the dot instead of left-clicking, this makes the change of parameters more accurate. The movement may be cancelled by pressing the opposite button of the mouse.

Additional tolerance for mouse scroll may be achieved by pressing shift key on keyboard

Example showing dot controls:

Group

Group widget is a special widget that allows to visually distinguish set of widgets that control parameters of some device or set of similar devices.

Example showing controls consolidated into group:

Indicator

Indicators are widgets that display measured or computed value by the plugin.

Example of indicator widget:

Inline display

Inline displays are not widgets or elements of plugin's UI at all. Instead of this, they're part of the host UI since the Ardour DAW implemented Inline Display extension for LV2 format.

So they're available in the Ardour's mixer strip even if UI is not shown. Inline displays also are available in Mixbus DAW as the relative to Ardour product.

Because inline display is an LV2-specific exension, it is available only for LV2 version of LSP plugins. But standalone JACK versions of plugins that support inline displays in LV2, draw them on window's icon.

Example of inline displays:

Knob

Knobs are the mostly used controls by plugin GUIs. They allow to adjust value for continuous parameters in the pre-defined range. Higlighted part of the knob's scale shows deviation from it's zero position. There are many ways to adjust the controlled parameter.

The first way to change the parameter is performing left mouse click on the knob's cap, holding mouse button and moving cursor up and down. To apply more accurate adjustment, right button of mouse may be pressed while moving cursor.

The second way to change parameter's value may be reached by using mouse scroll. To perform more accurate adjustment, shift key may be pressed on keyboard. To accelerate the adjustment, control key may be pressed on keyboard.

For all knobs (especially when they are stiff) quick adjustment of parameter may be achived by left-clicking knob's scale. Also, additionally mouse button may be hold and parameter will be adjusted by moving mouse clockwise/counter-clockwise.

Note, that knob scale actions can be enabled or disabled by the additional 'UI behavior' → 'Editable knob scale' option.

To reset parameter to it's default value, left mouse button double click may be issued.

Note that in most cases additional 'Parameter' widget that displays the actual value of the parameteris located nearby the knob . While the knob widget allows to adjust the value with some step, the 'Parameter' widget allows to set the precise value by double-clicking the displayed value and entering the new desired value by the keyboard.

Example showing knob controls:

Label

Labels are widgets that display static text information.

Example of label widgets:

Led

LEDs are used to display state of binary output parameter.

Example of LEDs:

Meter

Meters are used for metering some values (mostly, levels of the audio signal). They may contain yellow and red zones. They respectivelly show that signal exceeds -6dB and 0dB levels.

Example of meters:

Parameter

Parameters are widgets that display the actual value and measuring units of some controlled parameter. It is possible do double-click the parameter and enter it's value manually in the popup window.

Progress Bar

Progress Bar is a widget for monitoring execution progress of offline tasks. It shows the actual completion percentage of the background job.

Example of progress bar:

Sample Editor

Sampe Editor widget is used for viewing and editing audio samples. It is similar to AudioFile wiget but unlike AudioFile widget, it does not allow to load files from file system.

By default if there is no sample data, the file widget displays 'No data' text.

Example of sample editor widget:

Tab Control

Tab control allows to group multiple elements into tabs. When a specific tab is active, the only set of controls that belong to the tab becomes visible.

Example of the tab control: