mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
prototype track/bus sharing: state-export
This commit is contained in:
parent
134b69f267
commit
d0596d815f
5 changed files with 86 additions and 1 deletions
10
scripts/_export_tracks.lua
Normal file
10
scripts/_export_tracks.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue