use paramer_count position as index, instead of control-port position
This commit is contained in:
parent
908d629041
commit
7b9461cbe5
@ -280,7 +280,7 @@ function factory () return function ()
|
|||||||
--local _, _, pd = ARDOUR.LuaAPI.plugin_automation(proc, n)
|
--local _, _, pd = ARDOUR.LuaAPI.plugin_automation(proc, n)
|
||||||
local val = ARDOUR.LuaAPI.get_processor_param(proc, j, true)
|
local val = ARDOUR.LuaAPI.get_processor_param(proc, j, true)
|
||||||
print(r:name(), "->", proc:display_name(), label, val)
|
print(r:name(), "->", proc:display_name(), label, val)
|
||||||
params[n] = val
|
params[j] = val
|
||||||
end
|
end
|
||||||
n = n + 1
|
n = n + 1
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user