13
0

use paramer_count position as index, instead of control-port position

This commit is contained in:
Nikolaus Gullotta 2018-08-17 14:24:16 -05:00
parent 908d629041
commit 7b9461cbe5

View File

@ -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