mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Implement strip import/export, focusing on processors
This commit is contained in:
parent
e8ea2029e1
commit
1bb0832159
6 changed files with 550 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue