-- MIDI Grid: pitch up 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_HIGHERNOTEINCHORD") return end G.runOctave(1)