Files
midigrid/MidiGrid_RowPrev.lua
T

8 lines
282 B
Lua
Raw Normal View History

-- MIDI Grid: previous note at this pitch (pass-through when grid mode is off)
local dir = ({ reaper.get_action_context() })[2]:match("@?(.*[\\/])")
local G = dofile(dir .. "midigrid_lib.lua")
if not G.isActive() then G.passThrough("_OSARA_PREVCHORD") return end
G.runRowJump(-1)