Commit Graph

68 Commits

Author SHA1 Message Date
Paul Davis f95e94bc29 note tupling tweaks, and note join added
bindings moved to s/S and j, no need to use split-by-grid first

split-by-grid still needs work for non-grid aligned notes
2023-11-23 22:42:04 -07:00
Paul Davis c3d14b1169 basic note-tupling functionality implemented 2023-11-21 17:07:42 -07:00
Ben Loftis 885fd2caff Y is the shortcut key for MouseGrid 2023-09-11 13:22:37 -05:00
Ben Loftis 8818d8484e
region groups: allow the user to explictly group and ungroup regions 2023-08-10 16:55:25 +02:00
Robin Gareus b516d6abf9
Add keyboard shortcut for delete-section 2023-06-14 20:10:33 +02:00
Ben Loftis ce6f156bc3 Add shortcuts for 'section copy+paste' actions, moving Crop to accommodate 2023-05-26 13:16:37 -05:00
Ben Loftis 9e91c01ca8 no-op (whitespace) 2023-05-26 13:16:37 -05:00
Paul Davis 87b5849a7b kbd bindings: fix issues with delete & backspace bindings in draw/i-edit mode
We now use the same actions in all modes, and the logic is:

1. is there a selected mixer strip and are we in it: if so, delete selected
   processors
2. are we in draw or internal mode? if so ..
   2a. if there are selected control points, delete them
   2b. if not, attempt to delete MIDI notes
   2c. done
3. continue with delete operation as before
2023-04-25 11:38:16 -06:00
Ben Loftis 483047635c Rec page: implement Undo actions and shortcuts
* undo is not (currently) a Global action, it's an Editor action
* ... but we want the ability to undo a recording

One option would be to chagne Undo to a Global action, which would have a
 sizable impact on code and existing shortcuts.

Instead I'm choosing to implement a Rec-page-specific Undo action & shortcut

It's conceivable that someday we would want the Recorder page to ONLY undo
 record operations, and the Mixer page to ONLY undo mixer operations, or
 something like that.  This lays the foundation for that.
2022-12-16 13:18:37 -06:00
Ben Loftis bae336129f Add action to create named-range from Selection, and prefer that over the Region variant
* shortcut is currently already assigned to Secondary+Tertiary+R
* perhaps we could instead assign an easier shortcut Primary+M  ?
2022-11-08 19:12:56 -06:00
Paul Davis 6c575d0ced key binding changes
Use primary-e for quick export, primary-d for duplicate, secondary-d for multidup
2022-11-02 15:40:07 -06:00
Paul Davis d2fc142e21 infrastructure and implementation to allow "q" to drive quantize-selected-notes in midi edit mode 2022-08-31 13:53:55 -06:00
Colin Fletcher 31640a9a5b gtk2_ardour: implement "Unlink from unselected" for MIDI regions
An attempt to satisfy #8848.

Add a new action, "fork-regions-from-unselected", which unlinks all
selected MIDI regions from any unselected regions, but maintains links
within the selection, and add the new action to the region MIDI context
menu as "Unlink from unselected". Rename the existing "fork-region" action
to "fork-selected-regions", and amend the existing "Unlink from other
copies" menu item to "Unlink all selected regions" to (try to) clarify the
difference.

Attach the <Tertiary>U default key-binding to the new action: I personally
think it's generally slightly more useful (otherwise I wouldn't have
implemented it), though I'm not that fussed.

In the case that there's only one MIDI region selected, or that none of
the selected regions are mutually linked, both actions will have exactly
the same result. Ideally, we'd only show a single menu item in this case,
but that would require (a) implementing a function to check whether the
selection contains any linked regions, and (b) making the region MIDI
context sub-menu dynamically generated, so that it can change based on the
result of that function, neither of which I've tried to do yet.
2022-08-18 09:18:25 -06:00
Ben Loftis ab1d9b0e39 further work on shortcuts...
fix bindings to shifted symbols (see below)
  add shortcuts to recorder, virtual midi keyboard
  change shortcut (secondary+c) from Big Clock to Cue page

(*) shifted symbols like '+' are accessed in a very specific way, like:
<@TERTIARY@>plus
and
<@SECONDARY@><@TERTIARY@>plus
2022-06-07 16:35:08 -05:00
Ben Loftis d842326999 add some keybindings (for Nathan at Harrison)
* expand/shrink track height
* stem-export selected tracks
* create a range from selected regions
* consolidate range
* add a single Range marker for selected region(s)
* unlink (fork) midi region from linked regions
* toggle plugin manager window
* fixed shortcut for Crop

* moved "audio patchbay" from Alt-P to Alt-Shift-A,
    making it more consistent with Alt-Shift-M: MIDI patchbay
2022-06-06 14:16:57 -05:00
Ben Loftis c41ed2f133 keybindings: reformat for readability (no-op) 2022-06-06 14:16:57 -05:00
Paul Davis 9e77d8923a MIDI: ctrl-d now duplicates selected notes
This commit also fixes selection-after-paste, so that the selection is always
the newly pasted notes.
2022-04-27 08:13:09 -06:00
Paul Davis 605daf23f2 add default bindings for note shortening 2021-11-06 10:21:31 -06:00
Ben Loftis 09c1beac83 Fix new Transport actions so they work in both Edit and Rec windows 2021-07-22 16:17:19 -05:00
Ben Loftis 2b2bf1d726 Shortcuts: Primary+Tertiary is the existing convention for ALL tracks. use it for plist operations. 2021-07-20 16:14:49 -05:00
Ben Loftis 46c2cdc64a New shortcuts per Nathan at Harrison 2021-07-20 16:01:58 -05:00
Paul Davis 048636ed0a Escape in internal editing modes should trigger same action as when in other mouse modes 2021-07-13 12:47:16 -06:00
Ben Loftis f4feb19397
Playlist UI tweaks: swap copy-playlists shortcuts 2021-07-03 19:06:05 +02:00
Ben Loftis cdc9b89e3f
New Default Shortcuts per Nathan 2021-07-03 19:06:04 +02:00
Ben Loftis 0d50d51b47
Layer Display: add menu items and shortcuts for new actions 2021-07-03 19:06:04 +02:00
Paul Davis 11cb981e30 add extend_selection() to MIDI region bindings; expose invert-selection also 2021-06-08 07:40:54 -06:00
Paul Davis b17629bddf implement option to move markers during a "remove gaps" operation 2021-05-28 17:43:33 -06:00
Paul Davis af0413b400 fix some errors in the keybindings template/input file 2021-03-24 16:33:31 -06:00
Robin Gareus 16cbec311a
RecorderUI: add some key-bindings 2021-02-23 16:24:58 +01:00
Paul Davis 808b4d69c8 Editor: replicate nudge-forward/nudge-backward in the Editor/ action namespace and use these actions for the default key bindings
Previously the bindings were given to the Region/* equivalents and made insensitive if there was no selected region.

Given that we have specific actions for nudge-playhead-*, and the ones in Region/ will always work on regions
if there are any selected regions, this provides a better set of possible actions, even if the naming is not
totally consistent.
2020-07-19 22:44:11 -06:00
Paul Davis f2f9798df1 shift-tab generates shift-iso_left_tab so fix MIDI editing bindings 2020-04-17 13:14:34 -06:00
Paul Davis 0b67abca1d change default (non-modified) transpose kbd action to use 1 semitone 2020-04-17 12:40:28 -06:00
Paul Davis ba585e440d fix actions names & description for note transport to reflect semitone not tone 2020-04-17 10:47:01 -06:00
Paul Davis 3b1549e36d fix some MIDI keybindings 2020-04-16 17:48:12 -06:00
Paul Davis 3de9d5d09b fix namespaces for MIDI note bindings 2020-04-16 17:48:12 -06:00
Paul Davis 921e3e75b5 bindings for MIDI editing operations 2020-04-16 17:48:12 -06:00
Ben Loftis 142ce953da Split Select-All-Tracks into 2 appropriately named actions
Existing function select-all-tracks is now renamed select-all-visible-lanes, to match its behavior.

New function select-all-tracks will select all Tracks, as the name implies.

To maintain consistency for those users who actively used select-all-tracks,
  the default shortcut ctrl+t  will continue calling select-all-visible-lanes.
2020-01-22 10:33:15 -06:00
Ben Loftis 9d6b6b46be Ctrl+shift is a pretty strong convention for Invert-Selection; plus we try to reserve Shift+ for View menu actions. 2019-09-27 09:38:53 -05:00
Ben Loftis da3d8e5418 (Source List) Implement insert-region action... now uses the Source List. 2019-08-01 12:11:31 -05:00
Paul Davis 655e53fcc4 monitor section "global actions" are only global, no MS-specific versions 2019-02-16 01:15:12 -07:00
Paul Davis 12a88c9706 show-editor and show-mixer actions are now part of Common, not Window or Mixer action groups
This is a bit arbitary but they are supposed to be invokable from anywhere, and since they control Tabbables and note
pure windows, they are not part of WM::Manager's purview (Window/* actions). Thus ... Common
2018-12-10 18:39:14 -05:00
Ben Loftis 65bda27d42 Tweaks to Mixer and Monitor keybindings:
Add Mixer-specific view keybindings for list, vca, mon.  (thanks to: the_CLA)
Move monitor keybindings (mute, dim, mono) to be globally-accessible.

Implement new mixer-specific actions to show/hide monitor,vcas,mixbuses (the_CLA)
Move monitor funcs (mute,dim,mono) to globally-accessible actions.
Make a new Monitor group insted of using Transport group.
Allow use-monitor-section to be controlled by both menu and session-options dialog.
2018-12-07 12:57:26 -06:00
Paul Davis 99de9ac6de add shift-alt-(up|down) to editor to navigate VCAs with up/down 2018-08-24 14:04:18 -04:00
Paul Davis 510a0314cf move select-all-tracks,deselect-all,invert-selection to be global actions (and bindings) 2018-08-24 10:08:08 -04:00
Ben Loftis 8e4e7fde05 Re-pack Editor Toolbar:
Move zoom tools to right of toolbar.
Tweak numeric (mode) keybindings to more closely match the order they appear in the UI.
Add some new default keybindings.
2018-02-12 11:42:21 -06:00
Ben Loftis 0299229e41 SoloSelection: gui part. 2018-02-11 09:39:45 -06:00
Ben Loftis dc61256466 new_grid: Rewrite of Snap and Grid. (squashed commit)
Separate Snap from Grid.  Lots of naming changes.
Multiple simultaneous snap options allowed. Grid is one of the possible Snap options.
Grid uses the same data as the rulers.  Replace complicated tempo_lines with simple grid_lines.
The Grid is zoom-scale-sensitive along with the rulers.  If you are zoomed out, grid becomes coarser.
2018-02-09 09:59:39 -06:00
Robin Gareus 6af51b52ff Use dedicated "show editor/mixer" actions 2017-03-10 17:52:42 +01:00
Ben Loftis c373169f35 Move Select-All-Tracks into the Selection category. Currently used only when printing keybindings. But we should also use this for categorizing the keybindings dialog IMHO. 2017-02-22 18:15:55 -06:00
Ben Loftis d5f150b51b Add several new categories and re-sort some keybindings so they display more nicely in html printout. 2017-02-06 18:05:53 -06:00