Lua script for exporting several regions

(Jschoeni) #1

How can I export every region in one track automatically with a lua script? One region exported to one file.
I figured out how to loop through the regions (at least I get the names) but then I have not seen any example how to export to a wav file with the file path in a variable. (I dont want to open a menu to make manual input for every region, I have 25 regions to export)
Any ideas?

(Robin Gareus) #2

Export in general requires interaction and cannot be automated.

You might work around this, eg. bounce each region (to a new region) which creates a new file (session-format, session-rate).