Commit graph

41153 commits

Author SHA1 Message Date
Paul Davis
ec61deaa8a macro to stop local tempo map code from doing anything 2025-08-11 18:05:24 -06:00
Robin Gareus
c546082f22
Downgrade "unknown automation" error to warning
It may not be an error to begin with and there's nothing a
user can do about it, anyway.
2025-08-12 01:16:23 +02:00
Paul Davis
a2c0183cbc temporal: fix up some logic relating to scoped tempo maps (GUI) 2025-08-11 15:41:34 -06:00
Paul Davis
dd41fddcad temporal: fix up some logic relating to scoped tempo maps 2025-08-11 15:41:34 -06:00
Paul Davis
023290b99d temporal: add sanity check to TempoMap::fetch()
Threads should never call ::fetch() if they have a local tempo map in
use.
2025-08-11 15:41:34 -06:00
Paul Davis
478dd72fb0 moved scoped tempo map from GUI to libtemporal (gui) 2025-08-11 15:41:34 -06:00
Paul Davis
1ecbdf164d moved scoped tempo map from GUI to libtemporal 2025-08-11 15:41:34 -06:00
Robin Gareus
582a1e8186
Fix timecode update after locate for demo version
ref. 1d48648a73
2025-08-11 16:00:13 +02:00
Paul Davis
1136ba4c99 let's (maybe) inline some of the scoped tempo stuff 2025-08-10 21:03:32 -06:00
Paul Davis
2312187070 sort-of-a-solution for local TempoMap context in EditingContext 2025-08-10 20:25:59 -06:00
Robin Gareus
5c8c7c7814
Revert "macOS: allow Ardour to load unsigned plugins"
This reverts commit 12e846c3e9.
because it breaks notarization (and we already had that entitlement)
2025-08-10 17:41:28 +02:00
Paul Davis
673ce0f66f defer regionmap creation in clip editors to region 2025-08-10 07:55:39 -06:00
Paul Davis
ae6acb7f42 regions can create their own tempo map 2025-08-10 07:55:39 -06:00
Paul Davis
ea4737079d region tempo and meter are optional (gui) 2025-08-10 07:55:39 -06:00
Paul Davis
832683cb01 region tempo and meter are optional 2025-08-10 07:55:39 -06:00
Robin Gareus
8f9018ceda
Don't show hidden tracks in the editor-mixer
If the first track in a given session was hidden, it was still
shown in the editor-mixer after session load.
2025-08-10 14:04:55 +02:00
Paul Davis
aaaf25ad01 fill region editor tempo/meter entries and respond to changes
No editing yet
2025-08-09 20:47:58 -06:00
Paul Davis
7ff9460d7c actually define Region tempo/meter properties 2025-08-09 20:47:38 -06:00
Paul Davis
95006c085c add set_tempo/set_meter() methods to Region 2025-08-09 20:16:54 -06:00
Paul Davis
89a26e224a add properties for region tempo and meter 2025-08-09 18:41:53 -06:00
Paul Davis
ad1011d724 basics of tempo & meter fields in region editor(s) 2025-08-09 17:47:56 -06:00
Paul Davis
af5ab40bf2 use DEBUG::TempoEstimation 2025-08-08 23:34:31 -06:00
Paul Davis
217890cf85 add DEBUG::TempoEstimation to libardour 2025-08-08 23:29:55 -06:00
Paul Davis
4586b39e8b add a method to compute tempo & meter for an audio source (not used yet) 2025-08-08 23:11:59 -06:00
Paul Davis
ff648b6720 cue editor: fix local tempo scope and use region tempo map 2025-08-08 22:46:16 -06:00
Paul Davis
577cdd5f61 MIDITrigger::get_segment_descriptor() does something sensible with Region tempo/meter 2025-08-08 22:26:35 -06:00
Paul Davis
be913373cb give MIDIRegion a tempo/meter based on their SMF or the SMF standard (120, 4/4) 2025-08-08 22:26:04 -06:00
Paul Davis
cec3db54f0 refactor AudioTrigger::estimate_tempo() into ARDOUR::estimate_audio_tempo() 2025-08-08 17:52:59 -06:00
Franke Burgarino
c59dddfdae MCU: add scrolling in eq subview 2025-08-08 16:57:49 -05:00
Franke Burgarino
900706320c MCU: change 'Strip::notify_eq_type_changed()' to 'Strip::notify_subview_type_changed()' since it applies to dynamics as well 2025-08-08 16:57:49 -05:00
Franke Burgarino
947223fdfb MCU: rename/reorder dynamics subview controls 2025-08-08 16:57:49 -05:00
Franke Burgarino
c61cbe8b02 MCU: move filter controls from dynamics subview to eq subview 2025-08-08 16:57:49 -05:00
Paul Davis
20269df975 Regions get their own tempo and meter
This defaults to the usual 120bpm 4/4 but is also not used anywhere yet
2025-08-08 15:46:17 -06:00
Robin Gareus
f66207f2a2
Replace git.ardour link with github
git.ardour.org no longer allows to show individual commits
or source files (thanks to LLM scrapers trying to get them all).
2025-08-08 23:36:32 +02:00
Paul Davis
56647acc25 add local tempo scope calls to CueEditor, PianoRoll and AudioClipEditor 2025-08-08 15:03:41 -06:00
Paul Davis
1ecb28da47 tweak local tempo scope infrastructure 2025-08-08 15:03:11 -06:00
Paul Davis
22abddcd95 no local tempo scope for constructors 2025-08-08 14:39:40 -06:00
Paul Davis
4e23772b5d ensure (possible) local tempo map at start of every EditingContext method
This still needs to be done for derived, non-Editor classes
2025-08-08 14:34:03 -06:00
Paul Davis
a07ba74c9d fix constness in relationship to EditingContext:: local tempo map 2025-08-08 14:34:03 -06:00
Paul Davis
e682e1fde4 refinements to infrastructure for an EditingContext's locally scoped tempo map 2025-08-08 14:34:03 -06:00
Robin Gareus
12e846c3e9
macOS: allow Ardour to load unsigned plugins 2025-08-08 21:51:51 +02:00
Paul Davis
cee0ad349f rename audio clip editor ruler member and fix colors 2025-08-08 12:40:02 -06:00
Paul Davis
ed594c5217 fix order of assembly for audio clip editor 2025-08-08 12:39:45 -06:00
Paul Davis
28e0082868 use std::unique_ptr for a couple of EditingContext members 2025-08-08 12:12:09 -06:00
Paul Davis
4f5848d85c action-ify stationary playhead mgmt; fix up follow-playhead action handling 2025-08-08 11:35:20 -06:00
Robin Gareus
2be15f035d
Fix Lua Bindings (amend 1ca53a99d9)
Already registered classes can be extended as-is.
Deriving them again will override previous bindings.
2025-08-08 12:09:14 +02:00
Robin Gareus
ba86481d37
Fix region UI State save error message
XMLTree::write() returns true on success.
Start sentence with an upper-case letter.
2025-08-08 01:58:13 +02:00
Franke Burgarino
e3710bd0a2 MCU: allow scrolling to gate controls in the dynamics subview 2025-08-07 16:16:19 -05:00
Franke Burgarino
dfa12dedcd MCU: make dynamics subview show actual values 2025-08-07 16:04:40 -05:00
Paul Davis
b5f1c5b0dd Fix potential infinite loop when iterating over ControlLists
If you have the "wrong" kind of MIDI CC, the interpolation for the list is set
to Linear, which causes interpolation to return audio time stamps instead of
beat time.  Because of the asymmetrical transforms, this causes iterators over
the Sequence to go haywire and create an infinite loop.

This fix changes ControlList behavior to always return times in the time domain
of the list.
2025-08-07 12:49:18 -06:00