Commit Graph

37807 Commits

Author SHA1 Message Date
Paul Davis 1d31ace29d adjust GainMeter* API and design to handle stripables, not just routes for selection/group behavior 2023-07-31 21:12:00 -06:00
Paul Davis 3c44c326c2 add an assert() to check a target in CoreSelection::get_stripables_for_op() 2023-07-31 21:11:36 -06:00
Paul Davis 200194b134 use identical logic for gain/trim controls as others when it comes to group/select stuff 2023-07-31 18:31:03 -06:00
Paul Davis a5477feb27 API changes for ControlGroup::fill_from..()
This reflects better/different use by callers
2023-07-31 18:30:36 -06:00
Paul Davis b338b946b8 remove ill-though assert() - VCAs have gain-faders too 2023-07-31 13:54:00 -06:00
Paul Davis 0e6764c4c8 improve and extend group selection logic 2023-07-31 13:53:42 -06:00
Paul Davis fa38a14120 GUI changes to support new selection/group logic 2023-07-31 13:36:25 -06:00
Paul Davis 03105aa760 libardour changes to support new selection/group logic 2023-07-31 13:36:14 -06:00
Paul Davis 8340be4808 add another version of FooListToControlList 2023-07-31 13:35:37 -06:00
Paul Davis d1fe9f2846 fold solo-safe and solo-isolate controls into selection-is-group logic 2023-07-31 10:58:56 -06:00
Paul Davis 2cf18120c6 use selection-as-group logic for monitoring choice control 2023-07-31 10:58:47 -06:00
Paul Davis 78e023fcc2 deselecting a grouped track no longer deselects the entire group
I believe this to be more useful behavior than the previous state of affairs
2023-07-28 17:13:29 -06:00
Paul Davis 16e1188a2f move logic for use-selection-as-group into ARDOUR_UI and use it everywhere 2023-07-28 09:50:23 -06:00
Paul Davis 639c206432 fix thinko with selection-as-group for GainMeter 2023-07-27 13:31:12 -06:00
Paul Davis fe7c36c04b allow selection-as-group control of trim controls 2023-07-27 13:30:50 -06:00
Paul Davis 05c6616e32 ControlGroup: fiddle with API for clarity, and add TrimAutomation special case 2023-07-27 13:29:57 -06:00
Paul Davis c4838f5d87 remove RouteGroup method from RouteUI::maybe_use_select_as_group()
No longer necessary, after logic change.
2023-07-27 13:28:51 -06:00
Paul Davis 7662f9af5b ArdourCtrlBase should pass UseGroup when setting control values
None of the things this is used for right now are ever members of persistent
control groups, but it is useful for selection-as-group
2023-07-27 13:28:02 -06:00
Paul Davis 8f70356b81 fix group action disposition for solo/mute/recenable 2023-07-27 11:44:11 -06:00
Paul Davis f400c166cc change for logic for when to use selection-as-group 2023-07-27 11:43:43 -06:00
Paul Davis c9a58bfae1 consolidate rules for selection-as-group and extend to solo/mute/recanable 2023-07-26 21:06:19 -06:00
Paul Davis e0a491f0ee NO-OP: add braces mandated by coding style guide 2023-07-26 21:05:35 -06:00
Paul Davis d79e0e9039 add preferences dialog item to control selection-as-group 2023-07-26 18:54:09 -06:00
Paul Davis 70e97e2724 move region information preferences into Appearance
This makes some space on the Editor tab/page, and they were more appearance
related anyway
2023-07-26 18:39:48 -06:00
Paul Davis acac9ac006 add and use UI config variable to decide whether selection-as-group is allowed 2023-07-26 18:30:59 -06:00
Paul Davis 5e37a320c0 remove use-selection modifier 2023-07-26 18:24:43 -06:00
Paul Davis bc407151cd fix thinko with selection-based gain control 2023-07-26 18:15:42 -06:00
Paul Davis 5497c4e74e extend use-selection concept to solo control on mixer strip 2023-07-26 18:09:26 -06:00
Paul Davis e60c1840cb remove modifier for use-selection on gain controls
The condition is now: use selection if route is not in a group that shares gain
2023-07-26 18:09:04 -06:00
Paul Davis 6ba69cfd57 gain slider: correctly new push/pop group for use selection 2023-07-26 16:42:12 -06:00
Paul Davis f6664570d4 control group: implement ::fill_from_selection and ::size() 2023-07-26 16:41:54 -06:00
Paul Davis eba8eb07d3 automation control: fix logic for ::pop_group() 2023-07-26 16:41:09 -06:00
Paul Davis 86a5aec276 change "use selection" modifier to Win/Opt (Level4 modifier) 2023-07-26 16:40:34 -06:00
Paul Davis d7ed491f75 gain controls: tenatively use new "use selection" feature 2023-07-26 13:39:05 -06:00
Paul Davis 5f55f32386 control group: add API to push & pop control groups on a control 2023-07-26 13:38:37 -06:00
Paul Davis 29c2b06d0e add a name for a modifier to be used to indicate "use selection" 2023-07-26 13:18:02 -06:00
Paul Davis 3c2112abf5 widgets & GUI: Start/StopGesture signals should pass on GDK event state 2023-07-26 13:11:52 -06:00
Paul Davis 7ddd2a0692 automation control: allow single level of push/pop control group 2023-07-26 13:11:22 -06:00
Mads Kiilerich c86c444157 wscript: fix regexp escaping with the more strict Python 3.12
Previous Python versions allowed sloppy escaping. Python 3.12 will issue
SyntaxWarning like:
  wscript:1114: SyntaxWarning: invalid escape sequence '\.'

Use raw strings to pass the \ through Python syntax and down/up to
Regexp syntax.
2023-07-25 19:38:09 +02:00
darless e28eaa843d Fix #8857: Remove snap from decision making about number of divisions 2023-07-25 08:51:35 -06:00
Paul Davis 7fbe17c802 BBT markers must define an on-beat position 2023-07-24 16:20:38 -06:00
Robin Gareus 86d818e4b9
Revert VST3 kMono arrangement experiment #9418
Apparently kMono is not a flag and implies connection of the first port

This reverts commit 8aebfc45dc.
and  2698b23f82.
2023-07-21 00:39:47 +02:00
Robin Gareus dfc52fd5fb
Plugin analysis: cairo coordinate system fixes 2023-07-18 18:13:34 +02:00
Albert Graef e448895acf Add a map for the Donner StarryPad drum pad controller. 2023-07-18 13:34:40 +04:00
Paul Davis ec7d502959 cairo single pixel line offset fix, part 2
This will need careful visual inspection of the items drawn by the
affected code to make sure they are still precisely as intended
2023-07-17 20:55:13 -06:00
Paul Davis 4c845eb2a0 cairo single pixel line offset fix, part 1 2023-07-17 20:54:33 -06:00
Paul Davis 8c479ff425 lv2: if bpm is a double it may as well be a double from the start 2023-07-17 16:46:54 -06:00
Paul Davis cbde791805 short doc on drawing cairo single pixel lines 2023-07-17 16:46:54 -06:00
Robin Gareus 3ab3ef3b55
Fix lineset drawing (again), apply cairo 0.5px offset
see also f08299ea1e
2023-07-17 23:28:36 +02:00
Robin Gareus 2698b23f82
VST3: try an alternative approach use kMono as flag, not arrangement
See also 920a6a46c3 and 445e5162fd.
2023-07-17 20:48:45 +02:00