Commit Graph

16352 Commits

Author SHA1 Message Date
Robin Gareus
3fe1fc77a9 Do not snap to rolling playhead 2023-04-29 01:04:34 +02:00
Robin Gareus
d82ece39e1 Add Editor preference to snap to playhead position. 2023-04-29 00:40:06 +02:00
Paul Davis
78216b422f add new Playhead snap mode 2023-04-28 15:57:42 -06:00
Paul Davis
5c0886379b fix position of edited tempo marker in the presence of BBT markers 2023-04-28 15:57:42 -06:00
Ben Loftis
5b42422c60 allow single-click in the mapping ruler to add tempo markers (again)
* this is useful to make a 'guard point' ...
* ... this just preserves/sustains the tempo from the prior tempo marker
2023-04-28 09:29:01 -05:00
Paul Davis
57d2a85c0a NO-OP: remove unused variable warning 2023-04-27 19:56:18 -06:00
Paul Davis
408aed9e85 no need for a tempo map reset after the remove-while-moving 2023-04-27 19:56:12 -06:00
Paul Davis
82e03ac13e fix SNAFU with processor box bindings
Bindings were not loaded until after ProcessorBoxen were created,
meaning they had no effect (the ProcessorBoxen set their ardour
bindings to null).

Also handle leave-means-deselect at ProcessorBox level rather than
MixerStrip level, to include MonitorSection PB
2023-04-26 17:19:50 -06:00
Alexandre Prokoudine
5b19882be3 Update Russian translation 2023-04-25 20:26:46 +02: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
Paul Davis
c16ee928de fix ruler dialog 2023-04-22 17:58:28 -06:00
Robin Gareus
9625d22c0d Add Lua bindings for TempoEditBehavior
See also 8fbf2c3f52
2023-04-22 22:15:00 +02:00
Paul Davis
65c81feb5e fix consistency and accuracy of tempo edit behavior setting 2023-04-22 11:12:21 -06:00
Robin Gareus
3364fdd9f3 Update context menu for subgroup bus creation
Rather than hiding options that are not available,
all options are shown and the sensitivity is
set accordingly.
2023-04-21 00:41:30 +02:00
Robin Gareus
bedca7b5ef Amend prev commit, pick different max channels for custom config 2023-04-20 19:08:29 +02:00
Robin Gareus
24986b1f17 Add dialog to configure custom number of chnnels 2023-04-20 19:04:39 +02:00
Paul Davis
b4d8a3f933 get initial display for tempo ruler more correct 2023-04-18 14:37:46 -06:00
Paul Davis
be73956f4c add GUI option for controlling default tempo edit behavior 2023-04-18 14:30:59 -06:00
Paul Davis
8f95cfd995 different default tempo edit behaviors for mixbus vs ardour 2023-04-18 13:57:14 -06:00
Paul Davis
1a2fff932f prevent crash during ripple-mode dragging a region with copy enabled (weird crash but this stops it) 2023-04-18 13:48:59 -06:00
Paul Davis
4d5bce3568 ardev and its cousins should have ARDOUR_MIDI_PATCH_PATH set to be in-tree 2023-04-18 13:48:59 -06:00
Robin Gareus
3ddf99df08 Fix color-palette preference tooltips 2023-04-18 02:20:26 +02:00
Robin Gareus
c228d05c47 Clarify round-robin color palette API name 2023-04-18 02:18:02 +02:00
Robin Gareus
9e35a9da66 Add option to use a neutral color for new routes 2023-04-18 01:07:54 +02:00
Paul Davis
23a9ce4651 more debug information 2023-04-16 10:33:48 -06:00
Paul Davis
6313a61f15 more improvements to text position in tempo mapping bar 2023-04-16 10:32:50 -06:00
Paul Davis
88e4b40857 remove concept/implementation of a mapping stretch drag (aka "half twist")
This concept proved to be impossible.
2023-04-13 17:50:41 -06:00
Paul Davis
c10b265333 tempo mapping: various tweaks and improvements to workflow/Ux 2023-04-13 17:47:34 -06:00
Paul Davis
9d2c1232c5 tweak position of tempo text in mapping bar 2023-04-13 14:36:21 -06:00
Paul Davis
040dae9b0d tempo mapping: adjust BPM delta during a twist to reflect zoom level 2023-04-13 10:57:12 -06:00
Paul Davis
89c7159bc5 prefer auto const & as an amendment to b4291cfb32 2023-04-12 12:45:11 -06:00
Paul Davis
73f41a4d3b remove debug output 2023-04-12 10:38:57 -06:00
Paul Davis
36525a1ada rippling - use a list and ::push_front() to avoid having to reverse 2023-04-12 10:38:27 -06:00
Paul Davis
b4291cfb32 some more C++11 loop-auto-fication 2023-04-12 10:16:09 -06:00
Paul Davis
117c751293 fix undo for multi-non-contiguous region cut/delete (#9295)
Defer all ripples till after cut/delete. Then perform them
from the latest to the earliest.
2023-04-12 10:16:09 -06:00
Paul Davis
e575d5c6dc remove crash-causing reference to non-existent action 2023-04-12 10:16:09 -06:00
Paul Davis
f7f3c1a920 tempo mapping: fix lifetime management of mapping bar text 2023-04-10 09:18:45 -06:00
Paul Davis
caa42c8b4d remove debug output 2023-04-10 09:18:44 -06:00
Paul Davis
53a98a64fa tempo mapping: when not close to a beat line, revert cursor to grabber 2023-04-10 09:18:44 -06:00
Paul Davis
15a018a59d remove reference to non-existent ruler menu item 2023-04-10 09:18:44 -06:00
Robin Gareus
a0dc539d70 Set thread-local tempo-map to write-copy
Use the new map that is being edited for lookups while changing
the map in the in the GUI. This can changes directly visible
as the map is being edited.

This used to be done directly with the fetch_writable() API
2023-04-10 10:03:21 +02:00
Paul Davis
518fc7754f tempo mapping: half-way towards working drags again
For some reason, mid-drag changes are not visible
2023-04-09 14:36:03 -06:00
Paul Davis
4f87506e5c do not sort lineset every time a coord is added; use RAII to create scope and sort at end 2023-04-09 14:36:03 -06:00
Paul Davis
d4bca18108 slightly improve efficiency of drawing grid lines by passing by reference, not value 2023-04-09 14:36:03 -06:00
Paul Davis
13d814f87c fix a few canvas thinkos related to mapping bar 2023-04-08 14:12:41 -06:00
Paul Davis
786f71f7f1 fix GUI enum registration so that UIConfiguration can load with variables that use some of them 2023-04-08 13:58:25 -06:00
Paul Davis
13311b7a32 tempo mapping: tempo group and mapping group are now only ever visible one at a time
Currently, the "switch" is in Edit > Tempo
2023-04-08 11:44:21 -06:00
Paul Davis
a37d4dbacf define actions for changing tempo edit behavior and expand menu 2023-04-08 11:44:21 -06:00
Paul Davis
8fbf2c3f52 add enum and member var for controlling what kind of tempo editing we are doing
note: this was much harder than it ought to be
2023-04-08 11:44:21 -06:00
Robin Gareus
295dbd8e1e Make RCU reader return a const pointer (omnibus commit) 2023-04-08 00:15:37 +02:00