13
0

Fix Lua Audio to MIDI script MIDI channel (off by one)

This commit is contained in:
Robin Gareus 2024-08-21 18:53:55 +02:00
parent 9465ff16cb
commit 9df6d7c5fa
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -88,7 +88,7 @@ function factory () return function ()
local pos = bs - b_off
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)
end
mm:apply_command (Session, midi_command)