I’d like to be able to export or create a list of plugins used in a project so that it’s easy to credit the plugin makers.
This does not have to be ‘in Ardour’ itself, although I could see how either the plugin manager could have a tab of ‘in use’ plugins, or perhaps the DSP Load window could have a text view (It lists everything in use, but I can’t easily copy it). Maybe even the Metadata editing could have a prefilled ‘Credits’ section of data, or the Export options could include a text export of ‘credits/plugins used’
Outside of the program, I looked at the data files created and wondered if parsing the .ttl files (I’ve tried a simple python script) in the ‘plugin’ directory would give me the data, but not all the plugins that are in use are referenced there.
Any ideas about if I could grab the data easily or not?
Thanks in advance, and thanks to everyone working on the project - this really is a great piece of software! All the best.
Easiest is probably binding it to a button top-right (right-click on on of the unused, the “2” or “3” in the screenshot posted by @lordbullingdon), or run it interactively in Menu | Window > Scripting
Those are only LV2 plugins that have custom state.
You could grep the .ardour session file for <Processor.*type="lv2" or similar.
But those will only provide information about the plugin itself, not meta-data (author, etc) about the plugin. If you need those I expect the easiest would be to extend the Lua script.
there you can use
local pinfo = pp:get_info() -- PluginInfo struct
and then add that to the table in line 23 { … author = pinfo.creator …} and later print it.
Wow, that’s great. I didn’t know it was possible to assign scripts to those buttons. Very handy! Particularly “Delete X Run Markers” and “Bypass Plugins”.
That’s what those buttons are for, sadly it’s not well documented (although there are tooltips on those buttons). You can also assign keyboard shortcuts to bound actions.
In total 12 slots are available, Preferences > Appearance > Toolbar allows to show more if the default 4 are not sufficient.
And thanks to the Robin’s commit I managed to add a slightly modified script to my .config/ardour6/scripts directory so I can easily copy and paste a ‘Credits’ bit of text. (don’t need count, or type, but do want URLs)
I get this by:
Change the name of the script in line 1 so I can see it!
Changing line 49 to:
The ‘id’ is a useful URL in most cases but not all. I couldn’t quite fathom the documentation to get it right every time, but it’s close enough and I can copy and paste a couple of missing URLS.
Thanks again for the pointers - appreciate your time spent on this.
Working on it again this evening, I realised that I also wanted them listed alphabetically - my Lua isn’t up to it, so I used a spreadsheet instead! I’ll work on the Lua during the long winter nights… no need to spend any more time on this Robin for my sake.