Create Scripter controls

The Scripter Script Editor lets you use a simple shorthand to add standard controllers such as sliders and menus for automated or real-time control of your plug-ins. The only mandatory property to define a new parameter is a name, which defaults to a basic slider. In addition, you can use further properties to change the type and behavior of controls.

unit: Type a string to present a unit description in the plugin controls. If no value is typed, the default behavior is to display no unit.

Optional properties

Define MIDI plug-in controls

Type the following in the Script Editor window to create these controller types:

Retrieve plug-in parameter values

Call GetParameter() with the parameter name to return a value (number object) with the current value of the parameter. GetParameter() is typically used inside the HandleMIDI function or ProcessMIDI function.

This code example converts modulation events into note events and provides a slider to determine note lengths.