blob: f8f32c6467bf00612cdc4899f23ea0d7689fcecb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
ardour { ["type"] = "Snippet", name = "Toggle Monitor Section" }
function factory () return function ()
if Session:monitor_out():isnil() then
Session:add_monitor_section ()
ARDOUR.config():set_use_monitor_bus (true)
else
Session:remove_monitor_section ()
ARDOUR.config():set_use_monitor_bus (false)
collectgarbage ()
end
end end
|