Commit graph

41286 commits

Author SHA1 Message Date
Robin Gareus
28c81aec62 Fix Application bar tooltips
Tooltips depend actions for a given butten (if any).
A later call to set_related_action() will break tooltips
for a given widget.
2025-08-27 16:47:16 +02:00
Franke Burgarino
995de7a48c MCU: fix banking in the plugin subview
the addition of the current bank to the global strip position was just
causing the vpots to be off by the bank number, so past bank 1 the pots
were tied to the wrong plugins
2025-08-27 16:47:16 +02:00
Franke Burgarino
36cac4e5e4 MCU: remove vpot control in plugin subview
when switching to the plugin subview, vpots were still attached to
pan controls
2025-08-27 16:47:16 +02:00
Franke Burgarino
d3bbe142e6 MCU: fix plugin subview crash
fixed a crash that occurred when attempting to vselect an empty pot
in the plugin subview
2025-08-27 16:47:16 +02:00
Franke Burgarino
1a6d7b443c MCU: clear pot LEDs when pot is empty 2025-08-27 16:47:16 +02:00
Robin Gareus
6ff013346a RTA: fix potential invalidated iterator when clearing RTA 2025-08-27 16:47:16 +02:00
Paul Davis
460377bec0 fix kbd-editing of automation point values by allowing full range 2025-08-27 16:47:16 +02:00
Robin Gareus
cb403667f4 VST3: implement host/global IContextInfoProvider
This should fix crashes at instantiating sonible VST3
plugins.
2025-08-27 16:47:16 +02:00
Robin Gareus
5dfd6a4b29 VST3: Ardour enumerates Tracks/Busses by type
e.g. Track 1, Bus 1
2025-08-27 16:47:16 +02:00
Robin Gareus
fc2e1c0f92 VST3: fix debug message 2025-08-27 16:47:16 +02:00
Franke Burgarino
25a656b993 MCU: update pot LEDs when switching to the track/pan subview 2025-08-27 16:47:15 +02:00
Paul Davis
7820f904cf if visible note range is set to 1 note, treat just like any other range < 12 2025-08-27 16:47:15 +02:00
Paul Davis
5fc3eb56a5 don't try to reset visible MIDI note range directly when adding a note
This method is only used for GUI interaction, so the note must already be in the visible
note range
2025-08-27 16:47:15 +02:00
Robin Gareus
6cb5e71f7e Remove debug message 2025-08-27 16:47:15 +02:00
Paul Davis
a67ab29b5c pianoroll's have nothing (?) to do when a region's length changes
In particular, they should not call ::set_region() again to try to make something
happen
2025-08-27 16:47:15 +02:00
Paul Davis
c5a2ff9fa6 do not short-circuit CueEditor::set_region() if used with the current region
This stops us from failing to calling unset(), which was resulting in a pianoroll
being over-connected to a region's property change signal.

Also, EC_LOCAL_TEMPO_SCOPE is inappropriate in a method that will
call set_local_tempo_map()
2025-08-27 16:47:15 +02:00
Paul Davis
1f33e90ac1 remove debug message 2025-08-27 16:47:15 +02:00
Paul Davis
5059924fc7 automation kbd-editing on single points ONLY 2025-08-27 16:47:15 +02:00
Robin Gareus
a9cdf76601 Allow numeric entry with "shift" when using dbl-click to reset 2025-08-27 16:47:15 +02:00
Robin Gareus
de855856e2 Don't update bottom attachment when it's not visible 2025-08-27 16:47:15 +02:00
Robin Gareus
458e01ef81 Allow clearing RoutePropertiesBox 2025-08-27 16:47:15 +02:00
Robin Gareus
a7db9ecc0f Make keyboard shortcuts work in RTA Window 2025-08-27 16:47:15 +02:00
Paul Davis
d67f3a349f use Session::request_locate() fully, to avoid 2nd session transport request 2025-08-27 16:47:15 +02:00
Paul Davis
b36c1ae129 make pianoroll update happen on same timer as main editor playhead 2025-08-27 16:47:15 +02:00
Paul Davis
5621c62973 get playhead on timeline and in pianorolls to be in sync
We have to convert from audible sample to beats using the global tempo map, then
back to samples using the local tempo map
2025-08-27 16:47:15 +02:00
Paul Davis
a99e4116f8 temporal: provide TempoMap::global_fetch()
This always returns a shared ptr to the global tempo map, without setting the
thread-local pointer
2025-08-27 16:47:15 +02:00
Daniel Appelt
3bd0bc775c Add example Lua script to set color transparency 2025-08-27 16:47:15 +02:00
Daniel Appelt
be1c6911a5 Add support to set color transparency from Lua 2025-08-27 16:47:15 +02:00
Daniel Appelt
cb8109c717 Add example script to create a midi region clone 2025-08-27 16:47:15 +02:00
Daniel Appelt
6a0431152a Add support to create midi regions from Lua 2025-08-27 16:47:15 +02:00
Robin Gareus
34f309767c NO-OP: format comment 2025-08-27 16:47:15 +02:00
Robin Gareus
53a7e68b3f Expose preference to disable implicit grouping 2025-08-27 16:47:15 +02:00
Robin Gareus
3bb4f482b6 Add preference to disable implicit grouping 2025-08-27 16:47:15 +02:00
Franke Burgarino
78bf5022d8 MCU: show surround master in global/mixer view
only if the controller doesn't have a master fader
2025-08-27 16:47:14 +02:00
Franke Burgarino
18b027d1d0 MCU: clean up MackieControlProtocol::get_sorted_stripables logic 2025-08-27 16:47:14 +02:00
Franke Burgarino
a5a8246257 MCU: add MackieControlProtocol::is_bus 2025-08-27 16:47:14 +02:00
Franke Burgarino
43a851c2b1 MCU: bring back foldbacks with correct sorting 2025-08-27 16:47:14 +02:00
Paul Davis
ec8c4e7882 several more bbt_delta() unit tests 2025-08-27 16:47:14 +02:00
Paul Davis
3f45c0bdec temporal: remove iterative bbt_delta() since unit test shows breakage 2025-08-27 16:47:14 +02:00
Paul Davis
d6e331fe6c temporal: new non-iterative implementation of Meter::bbt_delta() 2025-08-27 16:47:14 +02:00
Paul Davis
b4ca9f2f38 add unit test for Meter::bbt_delta() 2025-08-27 16:47:14 +02:00
Robin Gareus
8d7b48b728 Fix expanding application bar
`on_parent_changed()` which does the layout is
called before ui_actions_ready(). This caused to Lua buttons
to briefly be displayed.
2025-08-27 16:47:14 +02:00
Paul Davis
60c7312538 kbd automation: no popup immediately after add, 2nd Return/Enter for that
Also, two different bindings for adding a point with and without guard points.
2025-08-27 16:47:14 +02:00
Paul Davis
a33edcb3af Evoral: add ControlList::has_event_at (timepos_t) 2025-08-27 16:47:14 +02:00
Paul Davis
2eb1a31e16 canvas: fix enter notify event handler to work with gtk ungrabs
GTK delivers both window and root coordinates as (0,0) for GDK_CROSSING_GTK_UNGRAB
modes. We need the real coordinates of the pointer to pick the right canvas item
2025-08-27 16:47:14 +02:00
Paul Davis
b292e5191c tag regions captured inside Ardour with tempo and meter from timeline 2025-08-27 16:47:14 +02:00
Robin Gareus
04cdd7d819 Add shortcut for spectrum analyzer window 2025-08-27 16:47:14 +02:00
Franke Burgarino
ede1055cdb MCU: fix pan values for mixbus 2025-08-27 16:47:14 +02:00
Robin Gareus
f8a7f10c9f Fix previous commit 2025-08-27 16:47:14 +02:00
Robin Gareus
9789efc223 Fix crash when setting up toolbar without session (sync button) 2025-08-27 16:47:14 +02:00