Skip to content
Logic ProFilesLogic ProFiles

Instruments

Scripter in Logic Pro

Scripter runs JavaScript to process or generate MIDI in real time. You don't need to code to use it — the factory scripts work as ready-made MIDI effects — but the built-in Script Editor lets you open any script, change it and run it instantly.

Owen Hartley Owen Hartley Updated Checked for Logic Pro 13
A code editor window with MIDI notes flowing out of it

Where to find it

MIDI FX slot > Scripter

Key Scripter functions

Scripter flow — MIDI in, JavaScript HandleMIDI, MIDI out to the instrument
Every incoming event passes through your script.
Function Purpose
HandleMIDI(event) Called every time Scripter receives a MIDI event
event.send() Sends the event on to the instrument
event.trace() Prints the event to the plug-in console
PluginParameters Defines the plug-in's own controls, read with GetParameter()
ProcessMIDI, SetParameter, ParameterChanged, Reset Other functions in Apple's MIDI processing reference

Step by step

  1. 1

    Insert Scripter

    Choose Scripter in the MIDI FX slot of a software instrument track.

  2. 2

    Try a factory script

    Pick a script from the settings menu — for example Guitar Strummer — and play.

  3. 3

    Open the Script Editor

    Click Open Script in Editor to see the JavaScript, with syntax highlighting for the MIDI API.

  4. 4

    Learn from the Tutorial scripts

    At the bottom of the settings menu, the Tutorial submenu has simple examples, such as Transpose and Delay, to copy from.

  5. 5

    Edit and run

    Change the code and click Run Script. Saving the project keeps the script in the plug-in.

Common mistakes

  • Deleting the event.send() line and wondering why no MIDI comes through.
  • Writing heavy loops in HandleMIDI — community guides report a bad script can crash Logic Pro.

No code needed?

Many jobs are covered by ready-made MIDI FX — Chord Trigger, Note Repeater and the Arpeggiator.

Sources

Checked November 2026. Logic ProFiles is independent of Apple; menu names can differ slightly between Logic Pro versions.

Frequently asked questions

Do I need to know JavaScript to use Scripter?

+

No. Apple notes you don't need programming knowledge to use scripts, but you can view and change them in the Script Editor.

Where are the Scripter examples?

+

In the Scripter settings menu; the Tutorial submenu at the bottom has basic examples you can open and reuse.