Arrrgh Ardour starts counting at 1 :(
This commit is contained in:
parent
d988a4b978
commit
39653830dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user