Global

Methods

getControlValueLabel(control, value)

Source:
Creates a label for a specific control.
Parameters:
Name Type Description
control * Plugin control
value * Value to append to the label
Returns:
Returns a label with units if applicable and formatted according to the LV2 specification.

getControlValuePercent(control, value)

Source:
Returns a relative percent of a value for a plugin control. Uses rangeMax and RangeMin
Parameters:
Name Type Description
control puglinControl plugin control.
value number Value to calculate %

parseControlValue(control, value)

Source:
Parse a control value, usually a float except if defined in properties. TODO: Check other cases.
Parameters:
Name Type Description
control pluginControl
value string
Returns:
a float or an int with the value

PluginMonitor()

Source:
Monitors the output for the selected plugin

progressControl(value, top, pluginControl, pluginInstance)

Source:
Initializes a plugin control widget. // { // "comment": null, // "designation": null, // "index": 6, // "name": "Master level", // "properties": [], // "rangeSteps": null, // "ranges": { "default": 0.0, "maximum": 30.0, "minimum": -30.0 }, // "scalePoints": [], // "shortName": "Master level", // "symbol": "master", // "units": { "label": "decibels", "render": "%f dB", "symbol": "dB" } // },
Parameters:
Name Type Description
value number focused
top number
pluginControl pluginControl
pluginInstance pluginInstance
Returns:
Returns the progress control blessed widget.

progressControl(value, top, pluginControl, pluginInstance)

Source:
Initializes a plugin control widget.
Parameters:
Name Type Description
value number focused
top number
pluginControl pluginControl
pluginInstance pluginInstance
Returns:
Returns the progress control blessed widget.

update(type, content)

Source:
Fired whenever a new log message arrives
Parameters:
Name Type Description
type string Type of messsage (wlog, wlogError, wlogDebug)
content string Message to loh