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 18 6
Use the Script Editor
The Script Editor is used to edit JavaScript code, enabling you to write your own MIDI plug-ins.
Plug-in creation is in real time, which means that you can change and test your plug-in functions
immediately. You can dene interface elements, such as sliders and menus, that are shown in
the Scripter plug-in window and can create the underlying logic and functions addressed by
these onscreen controls. Some examples of utilities you can create with the Scripter plug-in are
a chord strummer, a legato processor for stringed instruments, a harp glissando generator, or an
algorithmic composer.
Tip: View the supplied scripts in the Script Editor to see how they are constructed. You can
modify and re-use the code to change functions, or to create new processors.
See the Scripter API overview for Scripter API documentation and code examples.
Run Script button
Code Editor
Interactive Console
Script Editor parameters
•
Run Script button: Click to evaluate the script and congure the plug-in and parameters.
Output, including errors, is shown in the Interactive Console when you click this button.
•
Code Editor: Type JavaScript code in this area. The editor provides the following features:
•
Syntax highlighting for JavaScript keywords and the available MIDI API (Application
Programming Interface).
•
Live syntax checking, which highlights error lines immediately, making it easier to write
your scripts.
•
Line numbers, which are useful for error checking because they are reported by line number
in the Interactive Console.
•
Interactive Console: Displays debugging information and allows you to execute code on the
command prompt by typing after the prompt and pressing Return. Type clear and press
Return to clear the console.
Create and store a Scripter plug-in
1 Open the Scripter plug-in.
2 Click the Open Script In Editor button.
3 Type (or copy and paste existing) JavaScript code in the Code Editor.