Also move Lua scripts to share subfolder
This commit is contained in:
10
share/scripts/_toggle_monitor_section.lua
Normal file
10
share/scripts/_toggle_monitor_section.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user