Implement strip import/export, focusing on processors

This commit is contained in:
Robin Gareus 2025-11-08 04:59:02 +01:00
parent e8ea2029e1
commit 1bb0832159
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 550 additions and 39 deletions

View file

@ -6,5 +6,17 @@ function factory () return function ()
for r in sel.tracks:routelist ():iter () do
rlp:push_back (r)
end
print (Session:export_track_state (rlp, "/tmp/rexport"))
print (Session:export_route_state (rlp, "/tmp/rexport", false))
--[[
local idmap = ARDOUR.IDMap ()
local nm = Session:parse_route_state ("/tmp/rexport/rexport.routestate", false)
for id, name in pairs (nm:table()) do
print (id:to_s(), name)
idmap:add ({[id] = id})
end
print (Session:import_route_state ("/tmp/rexport/rexport.routestate", idmap))
--]]
end end