feat: keeping instruments and tracks linked & splitting them

Also includes a refactoring of the List: all methods that accepted
or returned a [from, to] range now return a Range, which is
non-inclusive i.e. [start,end).

Also the assignUnitIds was slightly refactored & a new function
called assignUnitIdsForPatch was added, to assign all unit IDs for
an patch at once.

Closes #157, #163.
This commit is contained in:
5684185+vsariola@users.noreply.github.com
2024-10-20 11:30:52 +03:00
parent 025f8832d9
commit 216cde2365
14 changed files with 675 additions and 284 deletions

View File

@ -13,9 +13,12 @@
- {key: "O", shortcut: true, action: "OpenSong"}
- {key: "I", shortcut: true, shift: true, action: "DeleteInstrument"}
- {key: "I", shortcut: true, action: "AddInstrument"}
- {key: "I", shortcut: true, alt: true, action: "SplitInstrument"}
- {key: "T", shortcut: true, shift: true, action: "DeleteTrack"}
- {key: "T", shortcut: true, alt: true, action: "SplitTrack"}
- {key: "T", shortcut: true, action: "AddTrack"}
- {key: "E", shortcut: true, action: "InstrEnlargedToggle"}
- {key: "K", shortcut: true, action: "LinkInstrTrackToggle"}
- {key: "W", shortcut: true, action: "Quit"}
- {key: "Space", action: "PlayingToggleUnfollow"}
- {key: "Space", shift: true, action: "PlayingToggleFollow"}