Keyboard- and speech-driven step entry for the MIDI editor, built for use with OSARA. Arrows walk grid cells and scale degrees, Enter toggles notes, and every position is spoken and auditioned. Uses REAPER's own edit cursor and active_note_row rather than private cursor state, so grid mode and OSARA editing stay in sync. Grid size comes from MIDI_GetGrid(), so existing grid keybindings drive it. When grid mode is off, every bound key forwards to its previous action. Preview timing lives in a background daemon so the action scripts can exit immediately -- a script still alive on the next keypress triggers REAPER's "already running" prompt and breaks key repeat.
22 lines
1.4 KiB
Plaintext
22 lines
1.4 KiB
Plaintext
SCR 4 0 RSmidigrid_open "MIDI Grid: Open selected item in grid mode" "D:\code\midigrid\MidiGrid_OpenInGrid.lua"
|
|
SCR 4 0 RSmidigrid_daemon "MIDI Grid: Preview daemon (auto-started)" "D:\code\midigrid\MidiGrid_Daemon.lua"
|
|
SCR 4 32060 RSmidigrid_mode "MIDI Grid: Toggle grid mode" "D:\code\midigrid\MidiGrid_ToggleMode.lua"
|
|
SCR 4 32060 RSmidigrid_left "MIDI Grid: Cursor left one cell" "D:\code\midigrid\MidiGrid_Left.lua"
|
|
SCR 4 32060 RSmidigrid_right "MIDI Grid: Cursor right one cell" "D:\code\midigrid\MidiGrid_Right.lua"
|
|
SCR 4 32060 RSmidigrid_up "MIDI Grid: Pitch up one scale degree" "D:\code\midigrid\MidiGrid_Up.lua"
|
|
SCR 4 32060 RSmidigrid_down "MIDI Grid: Pitch down one scale degree" "D:\code\midigrid\MidiGrid_Down.lua"
|
|
SCR 4 32060 RSmidigrid_cell "MIDI Grid: Toggle note at cursor cell" "D:\code\midigrid\MidiGrid_ToggleCell.lua"
|
|
SCR 4 32060 RSmidigrid_hold "MIDI Grid: Toggle hold mode" "D:\code\midigrid\MidiGrid_ToggleHold.lua"
|
|
SCR 4 32060 RSmidigrid_audit "MIDI Grid: Repeat current cell" "D:\code\midigrid\MidiGrid_AuditionCell.lua"
|
|
SCR 4 32060 RSmidigrid_scale "MIDI Grid: Set root and scale" "D:\code\midigrid\MidiGrid_SetScale.lua"
|
|
KEY 21 71 _RSmidigrid_open 0
|
|
KEY 17 71 _RSmidigrid_mode 32060
|
|
KEY 1 32805 _RSmidigrid_left 32060
|
|
KEY 1 32807 _RSmidigrid_right 32060
|
|
KEY 1 32806 _RSmidigrid_up 32060
|
|
KEY 1 32808 _RSmidigrid_down 32060
|
|
KEY 1 13 _RSmidigrid_cell 32060
|
|
KEY 17 72 _RSmidigrid_hold 32060
|
|
KEY 17 65 _RSmidigrid_audit 32060
|
|
KEY 17 83 _RSmidigrid_scale 32060
|