Arrrgh Ardour starts counting at 1 :(
This commit is contained in:
@@ -34,7 +34,7 @@ function factory () return function ()
|
||||
local pos = Evoral.Beats (bs)
|
||||
local len = Evoral.Beats (be - bs)
|
||||
|
||||
local note = ARDOUR.LuaAPI.new_noteptr (1, pos, len, fn, 0x7f)
|
||||
local note = ARDOUR.LuaAPI.new_noteptr (1, pos, len, fn + 1, 0x7f)
|
||||
midi_command:add (note)
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user