mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix Lua Audio to MIDI script MIDI channel (off by one)
This commit is contained in:
parent
9465ff16cb
commit
9df6d7c5fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue