Add play-from-start-of-bar
Alt+Space plays from the downbeat of the bar the cursor is in. Auditioning a cell says what a note is; playing from the bar line says whether it is in the right place, which is the question that matters at 16ths and 32nds and cannot be answered from a note in isolation. REAPER can almost do this by chaining a go-to-measure action with play, but that leaves the edit cursor at the bar line -- and the edit cursor is the grid cursor, so you would lose your editing position every time you listened. Here the cursor is moved just long enough to start playback and then restored with seekplay=false so the restore cannot drag playback with it. Works regardless of grid mode, being a listening aid rather than an edit.
This commit is contained in:
+4
-2
@@ -59,7 +59,8 @@ $actions = @(
|
||||
@('RSmidigrid_shl', 32060, 'MIDI Grid: Shift all notes one cell left', 'MidiGrid_ShiftLeft.lua'),
|
||||
@('RSmidigrid_shr', 32060, 'MIDI Grid: Shift all notes one cell right', 'MidiGrid_ShiftRight.lua'),
|
||||
@('RSmidigrid_shlf', 32060, 'MIDI Grid: Shift all notes left (force)', 'MidiGrid_ShiftLeftForce.lua'),
|
||||
@('RSmidigrid_shrf', 32060, 'MIDI Grid: Shift all notes right (force)', 'MidiGrid_ShiftRightForce.lua')
|
||||
@('RSmidigrid_shrf', 32060, 'MIDI Grid: Shift all notes right (force)', 'MidiGrid_ShiftRightForce.lua'),
|
||||
@('RSmidigrid_playbar',32060, 'MIDI Grid: Play from start of current bar', 'MidiGrid_PlayFromBar.lua')
|
||||
)
|
||||
|
||||
# flags, keycode, section, id
|
||||
@@ -86,7 +87,8 @@ $keys = @(
|
||||
@(13, 32805, 32060, 'RSmidigrid_shl'),
|
||||
@(13, 32807, 32060, 'RSmidigrid_shr'),
|
||||
@(29, 32805, 32060, 'RSmidigrid_shlf'),
|
||||
@(29, 32807, 32060, 'RSmidigrid_shrf')
|
||||
@(29, 32807, 32060, 'RSmidigrid_shrf'),
|
||||
@(17, 32, 32060, 'RSmidigrid_playbar')
|
||||
)
|
||||
|
||||
$backup = "$kb.midigrid-backup"
|
||||
|
||||
Reference in New Issue
Block a user