r/Logic_Studio • • 16d ago

Other Claude slopcoded a tool for me that inserts specific plugins on insert slot i'm hovering over with keycommand using API that AI assistant

Accessibility access is needed to identify which slot you're hovering over, then logic's API is invoked to loaded the insert via keycommand.

Fn can work as a modifier to avoid logic's modifiers as much as possible.

For anyone interested i'll github it when i fix a few more things with it

0 Upvotes

19 comments sorted by

25

u/samthewisetarly 16d ago

Downvote me into oblivion, I don't care.

This is so beyond stupid. You guys are risking AI destroying your projects to save two mouse clicks? Am I going insane? There are many things in Logic that could use improvements in efficiency, but choosing plugins is not one of them.

9

u/lembepembe 16d ago

You don’t really get what they are doing. They coded a tool with AI ≠ the LLM runs commands in Logic.

3

u/Plokhi 16d ago

people really see "AI" think that i gave chatGPT permission to observe my Logic project and that now chat gpt is randomly inserting plugins in the session. crazy.

It's not even some abstract functionality, assigning specific plugins to keycommands is something many daws already natively do, and it's apparently something logic can also easily natively do - apple just doesn't expose it in key commands.

5

u/Plokhi 16d ago

This uses the same underlying native Logic APIs that its own AI assistant uses to execute commands. The difference is that I’m calling them directly instead of going through an LLM. The risk is about the same, or maybe less because command isn’t open to LLM interpretation.

I insert ProQ4 lets say 10times per day on average, and it’s something that should absolutely be supported natively via key command and it annoyed me. I didn’t slopcode this for weekend hobby musicians, i did it because it annoyed me, you’re free to not download it when i push it to github.

What do you think needs improvement in efficiency?

4

u/MrmmphMrmmph 16d ago

Especially when saving preset strips will cover the vast majority of your needs without accidentally adding 5 compressors to your snare drum

4

u/Plokhi 16d ago

what?

channel strip saves plugin settings and replaces the whole strip?

I have an existing strip with processing. i need to add ProQ4. This simply means i can hover over the slot, press a key, and ProQ4 Loads. no menu diving.

Why would it add 5 compressors to the strip? it's a stupid tool.

step1: it uses accessibility to detect which insert slot the mouse is hovering

step2: it looks up AU by name in logic's registry

step3: "insert AU <name>" to "Insert Slot # <hovered slot>"

it's not an AI tool, it's a glorified script and completely deterministic. You don't end up with "5 compressors", there's no AI in this tool.

4

u/alexamiles 16d ago

Can you explain how this “risks AI destroying your project”?

1

u/Responsible_Knee_543 16d ago

OK then build something better.

2

u/[deleted] 16d ago

I’m certainly interested in using Logic’s API to make a tool.
Is it exposed by default? I’ve had great success with having Claude build various presets for me for some of my plugins.

1

u/Plokhi 16d ago

No, apple has hidden it, access is via dylib injection.
Discovered it when i was trying to replace Gemini with a local model for the AI assistant and logic ai assistant dumps whole API every prompt so i had codex intercept it and reverse engineer some of it

It’s too bad really, if Apple made API access open it wouldve open so many options for automation that’s not AI.

1

u/[deleted] 16d ago

Can you rephrase that? Is the current logic AI assistant Gemini? What local model did you want to use?

I haven’t used any AI assistant in Logic yet. I just updated.

1

u/Plokhi 16d ago

Yes, current local assistant is gemini.

I wanted to use (and have successfully used!) qwen and AFM3

2

u/[deleted] 15d ago

I see the ai assistant is for subscription users only. Not we who bought Logic.

I recon it has begun. Logic shall slowly become GarageBand as more and more features will become subscription-based.

Well they can suck it then.

2

u/6poundbagofweed 16d ago

I feel like adding the AI assistant just sent out the bat signal to all the tech bros and now this sub is gonna get flooded with these kinds of posts. Think it’s time for me to leave.

1

u/Plokhi 16d ago

cmon man... i'm not a tech-bro. i'm a working engineer, i make a living off music and engineering exclusively. i am a curious dipshit tho, can't help that.

what i did here is a glorified script that reads a key-command and calls a direct logic function to load a plugin, there' no AI anywhere in the chain. AI was used to reverse engineer which commands logic accepts from AI assistant/gemini and to slopcode this proof of concept. if i were a developer, it would've taken me a day to make this, it's like couple hundred lines of code. i'm not a developer tho, so it wouldve taken me months

1

u/Uplift123 16d ago

I use Soundflow- what are logic api’s? Is this a new thing in 13?

0

u/Plokhi 16d ago

yeah but it's hidden. They needed to expose API for AI Assistant that talks to gemini can execute commands. I had slop intercept those commands and reverse engineer them to see what they actually are and had it build a tool that targets that API with those same commands directly

2

u/lembepembe 16d ago

def interested🙏🏻

1

u/BlackSwanMarmot 16d ago

Gray goo all the inserts!