Skip to content

Commit

Permalink
implode actions and bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
myrrc committed Dec 6, 2024
1 parent 72bdd23 commit 589c05b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
5 changes: 4 additions & 1 deletion internal/definitions/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,12 @@ return {
},
ExplodeTakesInPlace = 40642,
ExplodeTakesInOrder = 40643,
ExplodeTakesAcrossTracks = 40224,
ImplodeItemsOnSameTrackIntoTakes = 40543,
ImplodeItemsAcrossTracksIntoTakes = 40438, -- Overlapping items -> multiple takes
ImplodeItemsAcrossTracksIntoOneTrack = 40644, -- Overlapping items -> first one
ToggleBetweenReadAndTouchAutomationMode = 41109,
QuantizeItems = 40316,
ExplodeTakesInAcrossTracks = 40224,
SetAutomationModeWrite = 40403,
SetEnvelopeShapeBezier = 40683,
OpenConsole = "_SWSCONSOLE",
Expand Down
15 changes: 10 additions & 5 deletions internal/definitions/bindings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,16 @@ local global = { -- applies both to main and midi
["h"] = "HealItemsSplits",
["s"] = "ToggleSoloItem",
["B"] = "MoveItemContentToEditCursor",
["x"] = { "+explode takes", {
["p"] = "ExplodeTakesInPlace",
["o"] = "ExplodeTakesInOrder",
["a"] = "ExplodeTakesInAcrossTracks"
} },
x = { "+explode takes", {
p = "ExplodeTakesInPlace",
o = "ExplodeTakesInOrder",
a = "ExplodeTakesAcrossTracks"
}},
i = { "+implode items", {
p = "ImplodeItemsOnSameTrackIntoTakes",
o = "ImplodeItemsAcrossTracksIntoTakes",
a = "ImplodeItemsAcrossTracksIntoOneTrack"
}},
["S"] = { "+stretch", {
["a"] = "AddStretchMarker",
["d"] = "DeleteStretchMarker",
Expand Down

0 comments on commit 589c05b

Please sign in to comment.