From 3293b1fbbbb59171a67a5406aa5587b304ac65ce Mon Sep 17 00:00:00 2001 From: molleweide Date: Wed, 27 May 2020 21:24:30 +0200 Subject: [PATCH] try to add grow midi note left right --- definitions/actions.lua | 4 ++++ definitions/midi.lua | 2 ++ 2 files changed, 6 insertions(+) diff --git a/definitions/actions.lua b/definitions/actions.lua index edbfed10..f1ac51ff 100644 --- a/definitions/actions.lua +++ b/definitions/actions.lua @@ -121,6 +121,8 @@ return { GroupItems = 40032, GrowItemLeft = {"TimeSelectionEnd", "SelectItemsUnderEditCursor", "TimeSelectionStart", "TrimSelectedItemLeftEdgeToEditCursor"}, GrowItemRight = {"TimeSelectionStart", "SelectItemsUnderEditCursor", "TimeSelectionEnd", "TrimSelectedItemRightEdgeToEditCursor"}, + GrowNoteLeft = {"SelectNotes","TrimSelectedNoteLeftEdgeToEditCursor"}, + GrowNoteRight = {"SelectNotes","TrimSelectedNoteRightEdgeToEditCursor"}, HealSelectedItemsSplits = 40548, HealSplits = {"SaveItemSelection", "OnlySelectItemsCrossingTimeAndTrackSelection", "HealSelectedItemsSplits", "RestoreItemSelection"}, InnerFolderAndParent = {"FolderParent", "SelectFoldersChildren"}, @@ -439,6 +441,8 @@ return { TransportStop = 1016, TrimSelectedItemLeftEdgeToEditCursor = 41305, TrimSelectedItemRightEdgeToEditCursor = 41311, + TrimSelectedNoteLeftEdgeToEditCursor = 40790, + TrimSelectedNoteRightEdgeToEditCursor = 40791, UnarmAllEnvelopes = 41163, UnarmSelectedTracks = "_XENAKIOS_SELTRAX_RECUNARMED", UncollapseFolder = "_SWS_UNCOLLAPSE", diff --git a/definitions/midi.lua b/definitions/midi.lua index e9ad24e5..3a828dc1 100644 --- a/definitions/midi.lua +++ b/definitions/midi.lua @@ -10,6 +10,8 @@ return { ["g"] = "JoinNotes", ["s"] = "SelectNotes", ["z"] = "MidiZoomTimeSelection", + [">"] = "GrowNoteRight", + ["<"] = "GrowNoteLeft", }, timeline_motion = { ["w"] = "NextNoteStart",