A technical support community for Apple Logic Pro users.

 
ValliSoftware
Topic Author
Posts: 936
Joined: Mon May 19, 2014 10:46 am

Stay In Range

Wed Jun 19, 2019 11:46 am

I generate chord progressions and certain libraries allow notes in a certain range, so the attached Scripter will stay within that range that you set.

When you set the min, if the note falls below, I move it up to the next octave range that's allowed.
When you set the max, if the note goes above, I move it down to the next octave range that's allowed.



I also use this on melodies that I create as well, so I can stay within a range to experiment with, without having to modify the MIDI region.
Attachments
StayInRange.pst.zip
(912 Bytes) Downloaded 143 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.3.1 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.1) Rosetta 2 not installed
 
TheRdungeon
Posts: 313
Joined: Sat May 14, 2011 7:41 pm

Re: Stay In Range

Fri Aug 02, 2019 1:07 am

Nice one, thanks mate!
2.3GHz Quad MBP - Mid '12 15"
Apogee Duet 2
Logic 10.4.7
OS X 10.14.6
 
ValliSoftware
Topic Author
Posts: 936
Joined: Mon May 19, 2014 10:46 am

Re: Stay In Range

Sat Jun 06, 2020 9:50 pm

I've updated this script. If the notes are outside of the range, they'll be adjusted by octave until there in range, unless you use the appropriate checkboxes, the notes outside the range will not get played.
StayInRange.png
StayInRange.png (39.51 KiB) Viewed 2383 times


I'll post a video of it in action.
Attachments
StayInRange.pst 2.zip
(1.04 KiB) Downloaded 70 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.3.1 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.1) Rosetta 2 not installed
 
dertimo
Posts: 12
Joined: Thu Nov 19, 2020 5:40 am

Re: Stay In Range

Thu Nov 19, 2020 7:28 am

Hello, sounds like a great helper. Is there a way you can post the code directly in this topic?
 
User avatar
Dewdman42
Posts: 3202
Joined: Tue Sep 09, 2014 3:01 pm
Location: Salt Lake City, UT

Re: Stay In Range

Fri Nov 20, 2020 3:47 pm

see the zip file he attached, that is a LogicPro Scripter preset. Copy that to the following folder on your Mac, then you'll be able to read it into scripter as a preset and see the script code:

~/Music/Audio Music Apps/Plugin-In Setting/Scripter/
OSX 10.15 (Catalina) on OpenCore - Logic Pro 10.6.1, VePro7, Mainstage3
5,1 MacPro 3.46ghz x 12 128gb ram
 
dertimo
Posts: 12
Joined: Thu Nov 19, 2020 5:40 am

Re: Stay In Range

Sat Nov 21, 2020 1:20 am

Great. Thanks a lot.