13
0
livetrax/scripts/_export_tracks.lua

11 lines
308 B
Lua

ardour { ["type"] = "Snippet", name = "Export Track XML" }
function factory () return function ()
local rlp = ARDOUR.RouteListPtr ()
local sel = Editor:get_selection ()
for r in sel.tracks:routelist ():iter () do
rlp:push_back (r)
end
print (Session:export_track_state (rlp, "/tmp/rexport"))
end end