A technical support community for Apple Logic Pro users.

 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

What is Logics Scripter?

Fri Apr 23, 2021 2:22 am

Hi Sorry for dumb question what is Scripter ?
I came across it in midi panel and for just looking through the midi fx

And How can it be useful ?
 
User avatar
fuzzfilth
Posts: 4749
Joined: Mon Aug 03, 2009 2:31 am
Location: Germany

Re: What is Logics Scripter

Fri Apr 23, 2021 2:42 am

You can use programming language to create bespoke MIDI processors. This can be anything from a simple transposing tool to a highly sophisticated probability driven drum groove humanizer. Once programmed, you use it like a plugin, with whatever control buttons and sliders are set up on its surface.
Christian Obermaier
Contact me for private Logic Consulting, Training, Troubleshooting via Skype, Zoom or Teamviewer

1 x MacPro 6core 2010 24Gb RAM
2 x MacBookPro i7 2012 16Gb RAM
OSX.14.6. Mojave, Logic X.4.4 & 5.1
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter

Fri Apr 23, 2021 8:42 pm

Thanks Sir,
Thank sounds awesome what kind of Programing language do I need to learn so I can look for a class over at Udemy?
 
User avatar
fuzzfilth
Posts: 4749
Joined: Mon Aug 03, 2009 2:31 am
Location: Germany

Re: What is Logics Scripter

Sat Apr 24, 2021 1:11 am

It's JavaScript. You can open an existing script in the Scripter plugin and try for yourself to get your feet wet.
Christian Obermaier
Contact me for private Logic Consulting, Training, Troubleshooting via Skype, Zoom or Teamviewer

1 x MacPro 6core 2010 24Gb RAM
2 x MacBookPro i7 2012 16Gb RAM
OSX.14.6. Mojave, Logic X.4.4 & 5.1
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter

Sat Apr 24, 2021 4:38 am

Ok been trying to learn basic JavaScript
In Logic Pro X Scripter is there a command where I can get a list of all the commands and definitions that I need to learn to create in Scripter ?
 
User avatar
fuzzfilth
Posts: 4749
Joined: Mon Aug 03, 2009 2:31 am
Location: Germany

Re: What is Logics Scripter

Sat Apr 24, 2021 5:00 am

No, in contrast to other areas of the software, the documentation of available JavaScript commands and their audio/MIDI/DAW-specific application is quite rudimentary in Logic's manual. It seems you're supposed to either know JS already well enough to float, or reverse engineer the included Scripter presets, or both. I personally find neither acceptable in commercial software.
Christian Obermaier
Contact me for private Logic Consulting, Training, Troubleshooting via Skype, Zoom or Teamviewer

1 x MacPro 6core 2010 24Gb RAM
2 x MacBookPro i7 2012 16Gb RAM
OSX.14.6. Mojave, Logic X.4.4 & 5.1
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter

Sun Apr 25, 2021 10:55 pm

Thank fuzzfilth appreciate Your advice
I guess what I do is just continue learn basic Javascript and like You said read the logic Manuel
and over time I hopefully will start to see patterns

I notice You have scripts in this forum are those scripts for video Logic Scripter or made with another programing ?
 
User avatar
fuzzfilth
Posts: 4749
Joined: Mon Aug 03, 2009 2:31 am
Location: Germany

Re: What is Logics Scripter

Mon Apr 26, 2021 12:13 am

Craig6973 wrote:
I notice You have scripts in this forum are those scripts for video Logic Scripter or made with another programing ?

Come again ?
Christian Obermaier
Contact me for private Logic Consulting, Training, Troubleshooting via Skype, Zoom or Teamviewer

1 x MacPro 6core 2010 24Gb RAM
2 x MacBookPro i7 2012 16Gb RAM
OSX.14.6. Mojave, Logic X.4.4 & 5.1
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter

Wed Apr 28, 2021 9:37 pm

Sorry about that fuzzflith
I mean in File Sharing under
MIDI FX Plug-In Scripts
 
User avatar
Dewdman42
Posts: 3276
Joined: Tue Sep 09, 2014 3:01 pm
Location: Salt Lake City, UT

Re: What is Logics Scripter

Wed Apr 28, 2021 10:04 pm

Yea, the docs on Scripter are sparse. The manual built into LogicPro and MainStage have extremely basic descriptions. You can spend some time reading through many posts in the MIDIFx section of this forum and probably learn some stuff...but otherwise its definitely a thing where those of us using it have kind of hacked around with it for a few years until we understand it pretty well. Feel free to ask questions here!

The good news is that Scripter is actually pretty straight forward, there actually isn't that much to it. There dozen or too little things you kind of have to learn about or figure out the hard way, but in the end, there just less then a dozen functions to learn what they do....and a few basics, then off you go...and at that point you just gotta learn generic javascript...and most of the time you don't have to use a lot of crazy javascript either...mainly straight and simple Javascript. Learn about JSON, arrays, a little simple things in javascript...the basics of the language...you'll be off and running.
OSX 10.15 (Catalina) on OpenCore - Logic Pro 10.6.1, VePro7, Mainstage3
5,1 MacPro 3.46ghz x 12 128gb ram
 
ValliSoftware
Posts: 990
Joined: Mon May 19, 2014 10:46 am

Re: What is Logics Scripter

Thu Apr 29, 2021 4:34 am

Craig6973 wrote:
Ok been trying to learn basic JavaScript
In Logic Pro X Scripter is there a command where I can get a list of all the commands and definitions that I need to learn to create in Scripter ?

There is no command line --help, but there is the well documented manual here.
https://support.apple.com/guide/logicpro/scripter-api-overview-lgce3905a48c/mac

The Tutorial Scripts describe the Titles objects in a basic usage, the scripts above Tutorial Scripts show what you can do with Scripter.
Scripter.png
Scripter.png (91.81 KiB) Viewed 1592 times
MacBook Pro 10.8.5 2.2 GHz Intel Core 2 Duo 6GB Ram - Logic Pro X (10.2)
MacMini 10.13.6 2GHz Intel Core i7 16GB Ram - GarageBand 10.4.5 Logic Pro X (10.4.8)
iPad Mini iOS 12 - iOS GarageBand 2.0.1
Qosimo X70-A 10.13.6 Intel® Core™ i7-4700MQ Processor 32GB DDR3L 1600MHz memory, 2-500GB 7200rpm hard drives - Logic Pro X (10.4.8)
MacMini M1 11.4 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.2) Rosetta 2 not installed
 
ValliSoftware
Posts: 990
Joined: Mon May 19, 2014 10:46 am

Re: What is Logics Scripter

Thu Apr 29, 2021 4:36 am

Craig6973 wrote:
Hi Sorry for dumb question what is Scripter ?
I came across it in midi panel and for just looking through the midi fx

And How can it be useful ?

That's up to your imagination :mrgreen:

Heavy usage of scripts in that video
MacBook Pro 10.8.5 2.2 GHz Intel Core 2 Duo 6GB Ram - Logic Pro X (10.2)
MacMini 10.13.6 2GHz Intel Core i7 16GB Ram - GarageBand 10.4.5 Logic Pro X (10.4.8)
iPad Mini iOS 12 - iOS GarageBand 2.0.1
Qosimo X70-A 10.13.6 Intel® Core™ i7-4700MQ Processor 32GB DDR3L 1600MHz memory, 2-500GB 7200rpm hard drives - Logic Pro X (10.4.8)
MacMini M1 11.4 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.2) Rosetta 2 not installed
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter

Thu Apr 29, 2021 5:06 pm

Dewdman42 wrote:
Yea, the docs on Scripter are sparse. The manual built into LogicPro and MainStage have extremely basic descriptions. You can spend some time reading through many posts in the MIDIFx section of this forum and probably learn some stuff...but otherwise its definitely a thing where those of us using it have kind of hacked around with it for a few years until we understand it pretty well. Feel free to ask questions here!

The good news is that Scripter is actually pretty straight forward, there actually isn't that much to it. There dozen or too little things you kind of have to learn about or figure out the hard way, but in the end, there just less then a dozen functions to learn what they do....and a few basics, then off you go...and at that point you just gotta learn generic javascript...and most of the time you don't have to use a lot of crazy javascript either...mainly straight and simple Javascript. Learn about JSON, arrays, a little simple things in javascript...the basics of the language...you'll be off and running.



Thanks Dewdman42 very much appreciate that
Over at Udemy here is the free course I have taking at the moment if You know of a better one that’s be great

https://www.udemy.com/course/javascript ... 23#content
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter

Thu Apr 29, 2021 5:41 pm

ValliSoftware wrote:
Craig6973 wrote:
Hi Sorry for dumb question what is Scripter ?
I came across it in midi panel and for just looking through the midi fx

And How can it be useful ?

That's up to your imagination :mrgreen:

Heavy usage of scripts in that video



Thanks ValliSoftware
Wow!!! there is a lot You can do with it as I see
 
User avatar
Dewdman42
Posts: 3276
Joined: Tue Sep 09, 2014 3:01 pm
Location: Salt Lake City, UT

Re: What is Logics Scripter

Thu Apr 29, 2021 6:15 pm

Craig6973 wrote:
Thanks Dewdman42 very much appreciate that
Over at Udemy here is the free course I have taking at the moment if You know of a better one that’s be great

https://www.udemy.com/course/javascript ... 23#content


Most javascript courses, including this one, focus a lot on HTML processing. Most people scripting with javascript are in fact writing stuff that runs in the browser. But Scripter doesn't use ANY of that stuff at all...so I think that will just be confusing to you.

You truly don't need very much javascript knowledge, just the very basics..how to make a loop, how to use an array, how to do if then statements, basic stuff like that. Start with that and then you can easily pickup what you need later online there are a million javascript resources on the net with all the info you need at any time.

Here is a Scripter tutorial that was made by Peter Schwartz and I think pretty good intro, specifically to Scripter...currently free it seems:

https://www.macprovideo.com/course/logi ... r-schwartz
OSX 10.15 (Catalina) on OpenCore - Logic Pro 10.6.1, VePro7, Mainstage3
5,1 MacPro 3.46ghz x 12 128gb ram
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter?

Thu Apr 29, 2021 6:25 pm

Thanks, Dewdman42
That looks like a great start with Peter Schwartz about Scripter
 
Craig6973
Topic Author
Posts: 42
Joined: Thu Apr 01, 2021 2:13 am

Re: What is Logics Scripter?

Sun May 09, 2021 5:15 pm

Well I see like You said Dewdman42 a lot people teach using HTML
So I am just learn the basic so I can get the JavaScript to show up in the browser
I came across this place to practice what I been learning some HTML and some JavaScript

Place called codepen.io

And found a iOS app called SoloLearn to learn JavaScript

This what I have so far but do I questions
https://codepen.io/bcraig6973/pen/jOBPzeB?editors=1001

This
 
User avatar
David Nahmani
Site Admin
Posts: 84666
Joined: Sat Mar 05, 2005 12:16 am
Contact:

Re: What is Logics Scripter?

Mon May 10, 2021 1:05 am

Craig6973 wrote:
Well I see like You said Dewdman42 a lot people teach using HTML
So I am just learn the basic so I can get the JavaScript to show up in the browser
I came across this place to practice what I been learning some HTML and some JavaScript

Place called codepen.io

And found a iOS app called SoloLearn to learn JavaScript

This what I have so far but do I questions
https://codepen.io/bcraig6973/pen/jOBPzeB?editors=1001

Cool, you're on your way! There are many tutorials to learn the basics of javascript on the net. Here's a great one: https://www.codecademy.com/courses/intr ... ises/intro

However if your goal is to use Scripter you'll want to quickly get your hands dirty and actually do some simple programs in Scripter, or ask questions on how to do something very simple, then slowly build around it to make it more complex. There's nothing like working with actual musical applications for your javascript code. You can start with some scripts here or you can start with the official Logic Pro manual on Scripter: https://support.apple.com/guide/logicpr ... 05a48c/mac
David Nahmani
• My Logic Pro X 10.5 book (Apple Pro Training Series)
Contact me for Private Lessons
Logic Pro X 10.6.1
MacBook Air 1.3 GHz i5 — MacOS X 11.0.1 — 4 GB RAM
iMac 3.2 GHz Quad Core i5 — MacOS X 10.15.4 — 8 GB RAM
 
ValliSoftware
Posts: 990
Joined: Mon May 19, 2014 10:46 am

Re: What is Logics Scripter?

Tue May 11, 2021 3:53 am

To really understand what's going on with your code, pick an Editor that supports debugging JavaScript.
After that, to emulate Logic Pro X outside of Logic Pro X, you'll need to create an emulator.
Once you have an emulator, you can fully debug your Scripter object outside of Logic Pro X and catch the errors of your logic design as well as typos.
Typo's always kill me. :mrgreen:
MacBook Pro 10.8.5 2.2 GHz Intel Core 2 Duo 6GB Ram - Logic Pro X (10.2)
MacMini 10.13.6 2GHz Intel Core i7 16GB Ram - GarageBand 10.4.5 Logic Pro X (10.4.8)
iPad Mini iOS 12 - iOS GarageBand 2.0.1
Qosimo X70-A 10.13.6 Intel® Core™ i7-4700MQ Processor 32GB DDR3L 1600MHz memory, 2-500GB 7200rpm hard drives - Logic Pro X (10.4.8)
MacMini M1 11.4 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.2) Rosetta 2 not installed
 
ValliSoftware
Posts: 990
Joined: Mon May 19, 2014 10:46 am

Re: What is Logics Scripter?

Tue May 11, 2021 4:51 am

Which ever Editor you use, just make sure you can debug JavaScript.
This video shows why.
MacBook Pro 10.8.5 2.2 GHz Intel Core 2 Duo 6GB Ram - Logic Pro X (10.2)
MacMini 10.13.6 2GHz Intel Core i7 16GB Ram - GarageBand 10.4.5 Logic Pro X (10.4.8)
iPad Mini iOS 12 - iOS GarageBand 2.0.1
Qosimo X70-A 10.13.6 Intel® Core™ i7-4700MQ Processor 32GB DDR3L 1600MHz memory, 2-500GB 7200rpm hard drives - Logic Pro X (10.4.8)
MacMini M1 11.4 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.2) Rosetta 2 not installed