Fix Lua Audio to MIDI script MIDI channel (off by one)
This commit is contained in:
parent
9465ff16cb
commit
9df6d7c5fa
@ -88,7 +88,7 @@ function factory () return function ()
|
|||||||
|
|
||||||
local pos = bs - b_off
|
local pos = bs - b_off
|
||||||
local len = be - bs
|
local len = be - bs
|
||||||
local note = ARDOUR.LuaAPI.new_noteptr (1, pos, len, fn + 1, 0x7f)
|
local note = ARDOUR.LuaAPI.new_noteptr (0, pos, len, fn + 1, 0x7f)
|
||||||
midi_command:add (note)
|
midi_command:add (note)
|
||||||
end
|
end
|
||||||
mm:apply_command (Session, midi_command)
|
mm:apply_command (Session, midi_command)
|
||||||
|
Loading…
Reference in New Issue
Block a user