Script help Low Latency/Record, and Moving tracks into predefined Trackstacks
Hi There, im totally new here, so bare with me :)
I was hoping someone could help me with some scripts, or let me know if its possible...
It would be great to have a script that automatically toggles low latency mode when you hit record and disables it again after
And would it be possible to make a script that will move the selected track to a certain track stack, and if possible, give it the same color as the track stack?
I have fixed names for my trackstacks as I use them for different instruments...
DRUMS (with trackstacks a level deeper with KICK, SN, TOMS)
PERCUSSION
BASS
GUITARS
KEYBOARDS
STRINGS
PIANO
FX N STUFF
BVS
ADLIBS
LEAD VOCALS
Really curious if stuff like this is possible :)
All the best Thomas
- Kitch Membery @Kitch2024-09-20 23:34:30.020Z
For your first request, you could use the following script for starting and stopping record.
const logic = sf.ui.logic; logic.invalidate(); logic.appActivate(); const controlBar = logic.mainWindow.controlBar; const isRecording = controlBar.recordButton.isCheckBoxChecked; // If Logic Pro is currently recording. if (!isRecording) { // Enable Low Latency Monitoring Mode logic.menuClick({ menuPath: ["Record", "Low Latency Monitoring Mode"], targetValue: "Enable", }); // Click the Record button controlBar.recordButton.elementClick(); } else { // Click the Stop button controlBar.stopButton.elementClick(); // Disable Low Latency Monitoring Mode logic.menuClick({ menuPath: ["Record", "Low Latency Monitoring Mode"], targetValue: "Disable", }); }
- TThomas Stengaard @Thomas_Stengaard
Amazing! Only thing is that it doesnt go back to disabling low latency after im done recording. Low latency stays enabled no matter what I do... press stop or press play etc
- In reply toThomas_Stengaard⬆:Kitch Membery @Kitch2024-09-20 23:35:56.756Z
I'm not sure we have the ability to achieve your other requested workflow just yet but I'll log it internally so we can let you know if that ever changes.
- In reply toThomas_Stengaard⬆:Kitch Membery @Kitch2024-09-20 23:39:56.665Z
Side note... for workflow requests, it's always best to start separate forum threads for each different workflow request that way they're less likely to get overlooked. :-)
- TThomas Stengaard @Thomas_Stengaard
Wow thank you so much !!! So kind of you, I’m really starting to see the possibilities with scripts and macros here, so awesome🙏🙏🙏
- TThomas Stengaard @Thomas_Stengaard
edit... ah so if I hit the assigned key command (Im going with *) and hit that again when im done, then it works!!
Kitch Membery @Kitch2024-09-23 16:20:18.588Z
Yes, that's the way to use the command. :-)
- In reply toThomas_Stengaard⬆:Matthew Brabender @Matthew_Brabender
I’ve looked into the track stack thing and it’s not possible with Logic’s current functionality. The only way to move a track to a stack is to mouse drag it. Reason I believe is there’s no way to search for a track name so there’s no list of tracks to reference.
The kind folks at soundflow would probably need to create a dynamic track name list (kinda like what plugsearch does).
For the colour change, you can create buttons for that. For your fixed stack names, you can duplicate the colour buttons and name them according to that. Select your track, hit ‘drums colour’ and it’s done.