-- MIDI Grid: pitch down one octave (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_LOWERNOTEINCHORD") return end G.runOctave(-1)