Files
midigrid/MidiGrid_OctaveUp.lua
T

8 lines
280 B
Lua
Raw Normal View History

-- 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)