3

The documentation for Logic Pro Midi says rather cryptically "The Scripter plug-in has one global parameter." But it doesn't say what that global parameter is. What is it? And is it global within the instrument, or within all scripts running in all instruments in a particular song?

1 Answer 1

0

What is Global Parameters?

Global Parameters is a wrapper (of sorts) that displays the Script Editor interface which, in turn, is used to create your own MIDI processing plug-ins using Scripter (JavaScript) API.

All GUI enabled user defined controls are displayed below the Global Parameters as 'Script Parameters'

enter image description here

Is it global within the instrument, or within all scripts running in all instruments in a particular song?

The script has a channel strip specific scope

The Global Parameter opens the same Script editor and hence has a global scope (will run the same script in exactly the same way across Logic) BUT the user written script has a channel strip specific scope i.e. when the script on a channel strip is run, it will affect the components of that specific channel strip only.


5
  • Thanks! That's a bit of a bummer, and limits what the scripting can be used for. Future Apple developers reading this -- it would be cool if instruments could share info through scripts and code in one instrument could affect another.
    – jlarson
    Feb 11, 2022 at 16:12
  • Just curious - what 'info' do you want instruments to share? MIDI data? and how do you want one instrument to affect another?
    – Lyric Roy
    Feb 11, 2022 at 16:20
  • So instruments driven by a shared midi track can "coordinate". Like in a jazz band how different instruments take turn soloing.
    – jlarson
    Feb 13, 2022 at 20:52
  • If I understand you correctly, you want multiple instruments to play the same MIDI data. This can be done in 2 ways - 1. using track aliases 2. creating multi-layered instruments using Track Stack (Summing).
    – Lyric Roy
    Feb 13, 2022 at 22:59
  • I have a lot of ideas but this is among them.
    – jlarson
    Feb 14, 2022 at 16:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.