Automated exporting

Hello Ardour community,

I’m looking for a way to efficiently make a complex export. Let’s say I have a session like so:

  • Voice
  • Guitar
  • Bass
  • Drums

Then I have busses:

  • Reverb 1
  • Reverb 2
  • Delay
  • (…)

Every track sends signal to every bus (with varying levels).

Now, I need to make an export of this project that will allow further mixing. I can’t just export the Reverb 1 bus with all tracks enabled, because then I’ll have 1 stereo track with reverb for all the instruments. I need to separate those. So I need to:

  1. Solo Voice, export all busses
  2. Unsolo Voice, Solo Guitar, export all busses
  3. Unsolo Guitar, Solo Bass, export all busses
  4. Unsolo Bass, solo Drums, export all busses

With a higher track count you can see how this can get tedious and error-prone when done by hand. Is there a way to automate it? I had a quick look in the scripts folder but I haven’t found an example of a script that automates exports. There’s a script that seems to export XML information about tracks, but not audio.

Has anyone tried doing something like that? Any promising results?