add more lua examples/doc

This commit is contained in:
Robin Gareus 2016-03-19 16:40:02 +01:00
parent dffdee85a0
commit 88caab41b2
2 changed files with 46 additions and 1 deletions

View file

@ -47,7 +47,10 @@ function factory (params)
local a = ARDOUR.LuaAPI.new_luaproc(Session, "Inline Scope");
if (not a:isnil()) then
t:add_processor_by_index(a, pos, nil, true)
a = nil
ARDOUR.LuaAPI.set_processor_param (a, 0, 5) -- timescale 5sec
-- ARDOUR.LuaAPI.set_processor_param (a, 1, 1) -- logscale on
-- ARDOUR.LuaAPI.set_processor_param (a, 2, 3) -- "Max" height
a = nil -- explicitly drop shared-ptr reference
end
end
end