12 lines
311 B
Lua
12 lines
311 B
Lua
ardour { ["type"] = "Snippet", name = "foreach track" }
|
|
|
|
function factory () return function ()
|
|
for r in Session:get_tracks():iter() do
|
|
print (r:name())
|
|
-- see http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:Track
|
|
-- for available methods e.g.
|
|
--
|
|
r:set_active (true, nil)
|
|
end
|
|
end end
|