Dewdman42 Posted June 25, 2021 Author Share Posted June 25, 2021 (edited) Try this one: https://gitlab.com/dewdman42/art2script/-/blob/main/art2script.sh Here's another little tip too. You can use this command line tool together with the pbcopy command to automatically copy it to the clipboard too. getSwitches.sh artset.plist | pbcopy Edited October 18, 2021 by Dewdman42 Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
D4rkKn1ght Posted June 25, 2021 Share Posted June 25, 2021 Legend. Seems to work perfectly! Quote Link to comment Share on other sites More sharing options...
D4rkKn1ght Posted June 25, 2021 Share Posted June 25, 2021 Just a note for anyone following in our footsteps here: The keyswitches that Terminal will output when you feed it the .plist will be bracketed by these { } If you paste that directly into the Scripter script, it won't work. So first I pasted into TextEdit (any word processor will do obviously) and did a find/replace to change all of the { } to [ ] Then it worked perfectly. Quote Link to comment Share on other sites More sharing options...
Dewdman42 Posted June 25, 2021 Author Share Posted June 25, 2021 stupid bug on my part, the script is fixed now. Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
ravez Posted October 18, 2021 Share Posted October 18, 2021 Hi, i am using the automation points (in the lane) via scripter to switch articulations, not using articulation sets at all. How can i change the script to receive midi in order to trigger the articulations via a midi controller? What i'd like is a way to write the automation points in the automation lane using a midi controller instead of selecting them with the mouse. Is it possible? thanks Quote Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 I'm not 100% sure. I am mostly not using LogicPro anymore either...so limited time available to pursue this. You have a generic question to ask which is how to program automation lane curves using a midi controller. You should ask that question on the main LogicPro forum...Its probably something related to Control Surface capabilities of LogicPro, but I'm not entirely sure. Scripter is able to READ the current automation lane value, and do something with it. its also able to change the CURRENT value of that automation lane...but I do not think scripter can be used to actually SET points in the automation lane. And I am pretty sure that in order to do that with a midi controller you will need to setup a Control Surface integration for that...but ask on the other LogicPro main sub forum about that. Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
ravez Posted October 18, 2021 Share Posted October 18, 2021 sounds good thx! Quote Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 (edited) here's an updated version of the art2script bash script that will generate the COMPLETE working Scripter script, including the KS array of keyswitches, along with the working script. If I get time I will update it to be able to optionally generate the automation lane script with a command line argument. Hope some find it useful. I have also moved these scripts to the following location on gitlab: https://gitlab.com/dewdman42/art2script Edited October 18, 2021 by Dewdman42 Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Atlas007 Posted October 18, 2021 Share Posted October 18, 2021 here's an updated version of the art2script bash script that will generate the COMPLETE working Scripter script, including the KS array of keyswitches, along with the working script. If I get time I will update it to be able to optionally generate the automation lane script with a command line argument. Hope some find it useful. I have also moved these scripts to the following location on gitlab: https://gitlab.com/dewdman42/dawtools/-/tree/master/LogicPro/Scripter/Art2Script The link yields a 404... Quote LogicPro 10.7.4, MainStage 3.6, MBPro 17", Core2Duo, 8G, OSX 10.12.6, MacPro, Xeon 6Cores, 64GB, OSX 10.16.1, ULN8, MOTU MIDI TP-AV, C4, MCU Pro, KorgNano, Novation SLMkII, Several vintage gear AAS, NI, Celemony, Spectrasonics, Korg, Arturia, etc..., PC, iPadPro 5th gen 12.9”(Duet D., V-Control & LogicRemote), AtariST(Notator SL), Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 not for me it doesn't look deeper into it Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Atlas007 Posted October 18, 2021 Share Posted October 18, 2021 It seems that your script is available only for you then... Quote LogicPro 10.7.4, MainStage 3.6, MBPro 17", Core2Duo, 8G, OSX 10.12.6, MacPro, Xeon 6Cores, 64GB, OSX 10.16.1, ULN8, MOTU MIDI TP-AV, C4, MCU Pro, KorgNano, Novation SLMkII, Several vintage gear AAS, NI, Celemony, Spectrasonics, Korg, Arturia, etc..., PC, iPadPro 5th gen 12.9”(Duet D., V-Control & LogicRemote), AtariST(Notator SL), Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 no I don't think so, but I will look to make sure. are you able to access gitlab generally? Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 I was wrong, I put it in a private repo you're right. I'm not ready to make that repo public, so I will create a new one, stay tuned... Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Atlas007 Posted October 18, 2021 Share Posted October 18, 2021 Ok! Thanx! Quote LogicPro 10.7.4, MainStage 3.6, MBPro 17", Core2Duo, 8G, OSX 10.12.6, MacPro, Xeon 6Cores, 64GB, OSX 10.16.1, ULN8, MOTU MIDI TP-AV, C4, MCU Pro, KorgNano, Novation SLMkII, Several vintage gear AAS, NI, Celemony, Spectrasonics, Korg, Arturia, etc..., PC, iPadPro 5th gen 12.9”(Duet D., V-Control & LogicRemote), AtariST(Notator SL), Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 Here now: https://gitlab.com/dewdman42/art2script Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Atlas007 Posted October 18, 2021 Share Posted October 18, 2021 Great! Thanx a lot! Quote LogicPro 10.7.4, MainStage 3.6, MBPro 17", Core2Duo, 8G, OSX 10.12.6, MacPro, Xeon 6Cores, 64GB, OSX 10.16.1, ULN8, MOTU MIDI TP-AV, C4, MCU Pro, KorgNano, Novation SLMkII, Several vintage gear AAS, NI, Celemony, Spectrasonics, Korg, Arturia, etc..., PC, iPadPro 5th gen 12.9”(Duet D., V-Control & LogicRemote), AtariST(Notator SL), Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 I updated the scripts a bit today, now the bash script can be used to generate either type of script..... based on articulationID to send keyswitches or cc switches based on an automation lane to send keyswitches or cc switches or optionally just output the ART array and use whatever script you want In the case of articulationID, after you generate the script, make sure to clear the OUTPUT section of the articulation set you used to generate it. The articulation set is still useful in order to see articulation names in the LogicPro GUI, but not essential. ArticulationID's stored in midi events will trigger the keyswitches as configured. When using the automation lane script, you can get rid of the articulation set entirely from your project track once you have generated the automation lane script. Usage art2script.sh [options] <artset.plist> Options: --id (default) produces articulationID based script --lane produces automation lane script --array produces only the ART array Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 18, 2021 Author Share Posted October 18, 2021 Note with this, it is also possible to have multiple articulation sets in parallel!!! This is kind of like Cubase Groups feature. Basically you can have only one actual articulation set active on a track at once in LogicPro. So articulationID in midi events will trigger from that articulationset....regardless of whether you are using the output section of the artset, or using this Scripter script instead. However... You can have at the same time also a completely seperate and independent set of keyswitches managed by an automation lane, at the same time that that the articulationID is being handled...in parallel. For example, you could use articulationID to specify the basic articulations and an automation lane to specify mute on or off. Just one example. You can also have more than one automation lane script active in one track at a time. Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Dewdman42 Posted October 19, 2021 Author Share Posted October 19, 2021 Some user docs added: https://gitlab.com/dewdman42/art2script/-/wikis/home Quote OSX 12.x (Monterey) on OpenCore - Logic Pro 10.7.4, VePro7, Mainstage3 - 5,1 MacPro 3.46ghz x 12 96gb ram Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.