X
Table Of Contents
- Logic Pro X Effects
- Contents
- Chapter 1: Amps and pedals
- Chapter 2: Delay effects
- Chapter 3: Distortion effects
- Chapter 4: Dynamics processors
- Chapter 5: Equalizers
- Chapter 6: Filter effects
- Filter effects overview
- AutoFilter
- EVOC 20 Filterbank
- EVOC 20 TrackOscillator
- EVOC 20 TrackOscillator overview
- Vocoder overview
- EVOC 20 TrackOscillator interface
- EVOC 20 TrackOscillator analysis in parameters
- Use EVOC 20 TrackOscillator analysis in
- EVOC 20 TrackOscillator U/V detection parameters
- EVOC 20 TrackOscillator synthesis in parameters
- EVOC 20 TrackOscillator oscillators
- EVOC 20 TrackOscillator formant filter
- EVOC 20 TrackOscillator modulation
- EVOC 20 TrackOscillator output parameters
- Fuzz-Wah
- Spectral Gate
- Chapter 7: Imaging processors
- Chapter 8: Metering tools
- Chapter 9: MIDI plug-ins
- Chapter 10: Modulation effects
- Chapter 11: Pitch effects
- Chapter 12: Reverb effects
- Chapter 13: Space Designer convolution reverb
- Chapter 14: Specialized effects and utilities
- Chapter 15: Utilities and tools
- Appendix: Legacy effects
Chapter 9 MIDI plug-ins 193
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 dene a new parameter is a name, which defaults to a basic slider. In addition, you
can add the following properties to change the type and behavior of controls.
Optional properties
•
type: Type one of the following strings as the value:
•
“lin”: Creates a linear fader.
•
“log”: Creates a logarithmic fader.
•
“menu”: Creates a menu.
•
“valueStrings”: The menu type requires an additional property that is an array of strings to
show in the menu.
•
defaultValue: Type an integer or oating point number to set a default value. If no value is
typed, the default is 0.0.
•
minValue: Type an integer or oating point number to set a minimum value. If no value is
typed, the default is 0.0.
•
maxValue: Type an integer or oating point number to set a maximum value. If no value is
typed, the default is 1.0.
Dene MIDI plug-in controls
Type the following in the Script Editor window to create these controller types:
m Slider 1: var PluginParameters = [{name:"Parameter x", defaultValue:0.5}];
The code example results in a slider named “Parameter x” with a default range of 0 to 1. It is set to
the mid-point of 0.5.
m Slider 2: var PluginParameters = [{name:"Octaves", defaultValue:3, minValue:0,
maxValue:5, numberOfSteps:5, unit:"octaves", type:"lin"}];
This code example results in a linear slider type, with ve possible positions (steps), and a range
from 0 to 5.
m Menu: var PluginParameters = [{name:"Range", type:"menu", valueStrings:["Low",
"Mid", "High"]}];
This code example creates a menu named "Range" with the options "Low", "Mid", and "High".