Arrrgh Ardour starts counting at 1 :(

This commit is contained in:
Robin Gareus 2016-10-07 14:54:54 +02:00
parent d988a4b978
commit 39653830dc

View File

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