A technical support community for Apple Logic Pro users.

Search found 8 matches

by coatsie
Wed Jan 08, 2020 5:03 am
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

First of all, the cleanup with the all_chords array was astonishing. It cut the size of the script in half. That's a trick I'll never forget. My only remaining issue, outside of creating graphics for all the chord types, is that it seems note ons are read from bottom to top as the piano roll is view...
by coatsie
Sun Jan 05, 2020 6:18 pm
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

You are an inspiration! I can’t wait to get home and apply all this knowledge.
by coatsie
Sun Jan 05, 2020 3:28 pm
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

Awesome! Thank you!!!
by coatsie
Sun Jan 05, 2020 3:00 pm
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

Dewdman42 wrote:
How are you generating the piano roll graphics?


It's a for loop inside a for loop. So far, the array only has the figures for Major, minor, M7 and m7 chords for all 12 notes. Still need to add to the array for the aug and dim etc chords. It's a LOT of work hahaha.
by coatsie
Sun Jan 05, 2020 2:56 pm
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

alright, taking a closer look at the script, be back in a few minutes. How are you generating the piano roll graphics? Here's the entire script. Beware, the array is huge! var all_chords = [[[64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78], [72, 79], [72, 79], [64, 65, 66, 67, 68, 69, 7...
by coatsie
Sun Jan 05, 2020 2:47 pm
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

Fun prank. Let’s see a video demo This is being made for people that miss the chord track from Logic 9. https://youtu.be/RMFNReshr1o I didn't include the rest of the script because the array that holds the notes to draw the chords is enormous, but the code itself is just a for loop inside a for loo...
by coatsie
Sun Jan 05, 2020 8:01 am
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Re: Chord analysis

Maybe you're just trying to mess with us. ? :-) hahahaha no. It does actually work, except, I wanna get the 7 chords. It's my first time using javascript so I'm just scouring stack exchange to find equivalent code from my native Python knowledge. I'll figure it out. It's part of a larger script I'm...
by coatsie
Fri Jan 03, 2020 9:00 am
Forum: MIDI FX Plug-In Scripts
Topic: Chord analysis
Replies: 19
Views: 910

Chord analysis

I have an array of notes that's being compared to a list of chords. I adapted this from some python I found. Issue #1: I know there's got to be a better way of parsing the note from the event. This is just embarrassing. Issue #2: It's not seeing a lot of the chords. As soon as I hit 3 notes in a tri...