The Complete Guide to Logic Pro's Scripter
The Complete Guide to Logic Pro's Scripter is available on Apple Books and Amazon Kindle. ISBN: 978-0-578-37719-3
Enhance your MIDI production with Logic Pro's Scripter MIDI Effect! Scripter allows musicians to capture and manipulate MIDI in real-time with JavaScript. Everything you need to know about how to use Scripter for your music is in The Complete Guide to Logic’s Pro’s Scripter. Written for musicians and programmers of any skill level, this guide comes with comprehensive overviews of Scripter’s functions, a music-based JavaScript tutorial inside which takes you from your first line of JavaScript to an entire script, a link to a free open source code library on GitHub, and working examples of features not covered in Apple’s own documentation.
View a free excerpt from the book here: Scripter JavaScript Tutorial. The tutorial covers everything needed to work with JavaScript in Scripter and provides examples within a musical, Scripter, and Logic Pro context wherever possible.
How Scripter Works
- Using Scripter in a Track
- Coding and Testing in the Script Editor
- Using Trace()
- Global Objects and Callbacks
- Parameter Controls
- Introduction
- JavaScript Fundamentals
- Statements
- Syntax
- Variables
- Data Types
- String
- Boolean
- null and undefined
- Operators and Math
- Comparison Operators
- Logical Operators
- Type Operators
- Operator Precedence
- Functions
- JavaScript Advanced
- Arrays
- Objects
- Conditional Branching
- Loops
- Parameter Controls
- Code Quality
- Script Organization
- Comments
- Variable and Function Names
- Clear Syntax
- Using Functions
- Versioning
- Debugging Errors
- Bringing It All Together: A Script Review
- Architecture
- MIDI Event Processing
- Parameter Control Properties
- Controlling Plug Ins with TargetEvent
- NoteOn.Detune Property
Appendix: Object Reference
Appendix: Code Snippets
¶