CSV to Logic Articulation set utility

Logic Pro X recently added articulation switching, in the manner of Cubase's Expression Maps. This is a more sophisticated method of controlling articulations than keyswitching, since each note in Logic's piano roll can be assigned an articulation setting with ease.


The Articulation Set editor provided in Logic does the job, but I've found it very fiddly and tedious to use, especially when setting up large keyswitching schemes with lots of articulations and mappings.

Its data is stored in a .plist file.. a kind of XML file. So I decided to write this little Python utility, called 'csvtoartics'. Run from the Terminal (command line), it will create these files for you, using data that you create in a spreadsheet such as Google Sheets, where it's much easier to edit, copy and update data. Then you export it as a CSV (comma-separated variable) file, which is very easy to do.  Here's how to use it.

Step 1: download the file  >>>

Download the csvtoartics.zip file from the link opposite to your desktop and unzip it to create a 'csvtoartics' folder. This contains the csvtoartics utility and an example .csv file that was created with Google Sheets (see how to do this below).

<<< Step 2: open Terminal and change directory

 

Open your Terminal app (Applications/Utilities). Type 'pwd' and hit enter. This displays your current working directory, which should show '/Users/<yourname>' (see opposite). If you've downloaded the file to your desktop, we need to change directory to that folder, so type 'cd Desktop/csvtoartics' and hit Enter. Then 'ls' and enter.. this should print a line showing the two files csvtoartics and example.csv as shown opposite.  Then type ./csvtoartics example.csv (the beginning './' is important) and you should see the utility print out the articulation data it has found, and a line at the bottom showing it's created the .plist file. 

Step 3: move the .plist file to where Logic is looking for it..

 

In the Finder, navigate to <yourUserFolder>/Music/Audio Music Apps/Articulation Settings. Drag your new example.plist file into that location.

That's it! Logic should now be able to use the new articulation set you've created. In the track parameters side bar  for your Logic track, right down the bottom is the Articulation Set menu.. your new set should now appear there.

So how to create the CSV files of your articulation set data?..

 

This is dead easy using Google Sheets or Excel.  The columns in your sheet need to be in this exact left-to-right order below.  As related to the tabs in Logic's own articulation set editor, the yellow columns in the example below match those in the 'Articulations' tab, the orange columns match those in the 'Switches' tab and the green match those in the Output tab. The example data in the sheet below is for one of the Spitfire Chamber Strings articulation sets. The only difference is that in this sheet, you need to use MIDI note numbers rather than the note names that Logic uses (C3 = MIDI note 60). This example below is for a UACC KS setup of Spitfire's Chamber Strings.

Once you've filled in the table with all your articulation data, download or save it as a .CSV file (see left) into the folder on your desktop containing the csvtoartics utility, and run it as per Step 2 above.