2016-04-11 08:36:57 -04:00
|
|
|
ardour { ["type"] = "Snippet", name = "Foreach Track" }
|
2016-04-07 16:13:00 -04:00
|
|
|
|
|
|
|
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
|