13
0
livetrax/share/scripts/_toggle_monitor_section.lua

11 lines
275 B
Lua

ardour { ["type"] = "Snippet", name = "Toggle Monitor Section" }
function factory () return function ()
if Session:monitor_out():isnil() then
ARDOUR.config():set_use_monitor_bus (true)
else
ARDOUR.config():set_use_monitor_bus (false)
collectgarbage ()
end
end end