Commit graph

41462 commits

Author SHA1 Message Date
Robin Gareus
d133be6d8d
One more MSVC related fix.. 2025-10-22 18:26:08 +02:00
Robin Gareus
d8a379bc6d
Prepare for MSVC support in y[dt]k 2025-10-22 15:34:37 +02:00
Franke Burgarino
4bdad3a20d Fix 'Arrangement Boundary' toggle for scenes
The 'Arrangement Boundary' toggle was not working correctly for markers
with scene changes. Location markers would get turned into section markers,
but would not get shifted down to the correct row.
2025-10-21 14:32:59 -05:00
Franke Burgarino
cd2338a6ac Expose marker scene change editing
Allows for editing scene change information for location and arrangement
markers. This "edit mark" menu was previously inaccessible. Now accessible
via double clicking a marker.
2025-10-21 14:17:36 -05:00
Robin Gareus
eaece586e1
Clarify that "Config" refers to Audio Inputs (not the channel itself)
A User complained that we don't support "stereo" MIDI channels,
and that he ostensibly has to first switch to Audio, set stereo
and back to MIDI... :(
2025-10-21 20:34:13 +02:00
Paul Davis
3665011c22 fix crash from use of null Editor::_pianoroll 2025-10-21 09:18:01 -06:00
Colin Fletcher
3098c70fcf
Allow adding multiple include and lib-dirs as documted in --help. 2025-10-21 01:55:54 +02:00
Paul Davis
1114a05f1f fix incorrect locally scoped tempo map management
This is tricky to explain, so rather than explain what was wrong, I'll describe
how it works now.

Whenever a ScopedTempoMapOwner::in() call occurs, we check the current thread-local
tempo map ptr. If it is not owned by us (and we have a local tempo map that we
want to use), set it so that it is.

We continue to fetch() the global tempo map ptr back into the thread-local ptr
when the local scope depth drops to zero.
2025-10-20 14:58:16 -06:00
Paul Davis
297e146152 use the correct region tempo map when getting BBT metric in a CueEditor 2025-10-20 14:58:16 -06:00
Paul Davis
cab3d96a4c ensure a locally scoped tempo map in MidiView::{model,view}_changed() 2025-10-20 14:58:16 -06:00
Paul Davis
d681c2d42c fix logic error in Region::set_tempo() 2025-10-20 14:58:16 -06:00
Paul Davis
e975fc5b7d slightly more debug information when starting local tempo scope 2025-10-20 14:58:16 -06:00
Paul Davis
12f40234ef fix thinko when searching for a segment descriptor by TimelineRange 2025-10-20 14:58:16 -06:00
Paul Davis
b460ce6d6a fix repeated thinkos during deserialization of SegmentDescriptors 2025-10-20 14:58:16 -06:00
Paul Davis
3dd3b857cd do lazy creation of Editor::_pianoroll
In reality, this doesn't save us much, because there's often a region selection
early on (or even at startup) during an instance of the application
2025-10-20 14:58:16 -06:00
Paul Davis
e8cd0af1cc remove Region::_tempo and Region::_meter; use Source-level data instead 2025-10-20 14:58:16 -06:00
Paul Davis
6d92be80c1 do tempo estimation within AudioSources, after capture and upon import
we read 10 seconds from the middle of the data; not infallible but a reasonable
first pass at a heuristic.
2025-10-20 14:58:16 -06:00
Paul Davis
40f6859905 triggerbox: use the appropriate audio tempo estimating function 2025-10-20 14:58:16 -06:00
Paul Davis
1a5f369bc7 refactor audio data estimation utility code to provide region and source versions
this also fixes a new/delete vs new/delete[] buglet caught by ASAN
2025-10-20 14:58:16 -06:00
Paul Davis
efca55642f mark_streaming_write_completed() should still be called on non-writable sources
the sources have already been marked immutable before DiskWriter calls
mark_streaming_write_completed().
2025-10-20 14:58:16 -06:00
Paul Davis
c1f568b1f3 fix typo/cut-n-paste error in SegmentDescriptor duration assignment 2025-10-20 14:58:16 -06:00
Paul Davis
4b5efcee86 add a replace argument to Source::set_segment_descriptor()
This allows for a segment descriptor to be replaced, which previously was not
possible
2025-10-20 14:58:16 -06:00
Robin Gareus
768f2dc768
Clarify message about track/bus name restrictions
see also 5b746b186a. Route::ensure_track_or_route_name
uses `legalize_for_universal_path`.
2025-10-20 16:59:27 +02:00
Antti-Pekka Meronen
87a8b727d0 Patchfile / midnam file for XLN Audio - Addictive Drums 2 (Brushes) 2025-10-18 12:26:48 +03:00
Antti-Pekka Meronen
1fa77dd12f Patchfile / midnam file for XLN Audio - Addictive Drums 2 2025-10-18 12:26:25 +03:00
Franke Burgarino
9ee9e6d139 Properly legalize new source filenames 2025-10-17 12:27:04 -05:00
Robin Gareus
6e62c49749
Fix master/monitor auto-connect
When initially using a different backend, the engine does
not yet have a reference to the Session, and main busses
were not connected.
2025-10-15 18:09:45 +02:00
Antti-Pekka Meronen
df88d2f60c
Patchfile / midname file for XLN Audio - Addictive Drums (Brushes) 2025-10-15 17:18:40 +02:00
Antti-Pekka Meronen
3554fa4b90
Patchfile / midnam file for XLN Audio - Addictive Drums 2025-10-15 17:18:36 +02:00
Robin Gareus
d158e5371d
Add preference to limit concurrent RTA
This prevents accidentally analyzing hundreds of tracks,
making the machine grind to a halt.
2025-10-15 01:46:00 +02:00
Robin Gareus
360d069928
Revert "Fix zoom-to-session shortcut"
This reverts commit e2b1f6cdab.
2025-10-13 20:39:41 +02:00
Robin Gareus
e2b1f6cdab
Fix zoom-to-session shortcut 2025-10-13 20:28:23 +02:00
Franke Burgarino
a9fe088957 Fix zoom to session shortcut
Had to put <@TERTIARY@> back in, the shortcut doesn't work without it.
2025-10-13 12:54:13 -05:00
Paul Davis
a5d2e3b3e2 make trigger-page audio & MIDI editors resizable in a consistent way 2025-10-13 10:05:16 -06:00
John Emmas
2f9f86b7d3 Fix improperly terminated parameter list 2025-10-13 09:56:23 +01:00
Robin Gareus
eff8ff81c1
Add option dialog to human^wbrutalize MIDI script 2025-10-13 02:58:51 +02:00
Robin Gareus
c361ebe347
Add Lua script to randomize MIDI note position 2025-10-12 21:26:23 +02:00
Paul Davis
2ba08fa1d0 allow audio clip editor to resize 2025-10-12 11:49:18 -06:00
Robin Gareus
35b5d156c3
Fix StaffPad compilation/linking with gcc-15.2 2025-10-11 23:34:27 +02:00
Robin Gareus
f19e7c9ac9
Fix pane constraint calculation for > 2 child widgets 2025-10-11 22:22:44 +02:00
Robin Gareus
882ed91f2f
Fix pane allocation and size constraints
Correctly divide the fractions of *available* requested child-space.

This fixes issue with Trigger Page bottom attachment not showing
Frame content.

When calculating constraints the divider width/height was ignored.
When setting child allocation, the divider girth was only
subtracted *after* the first child, and iteratively subtracted
after each subsequent child widget.
This over-allocated the first child and later child widgets
were increasingly too small (factor * remaining).
2025-10-11 22:22:17 +02:00
Robin Gareus
b1841f9857
Only warn when Frame allocation is smaller than requested size
see also a8092c1782
2025-10-11 18:23:40 +02:00
Robin Gareus
b467951c9d
Set a reasonable min size for mixer left pane
Allow it to shrink it to ~75% of min width.
2025-10-11 18:14:11 +02:00
Robin Gareus
c780d7c056
Don't blindly enforce a min attachment width/height
This also fixed a copy/edit type. enabling PaneBottom
set a min-width to content_right_pane :)
2025-10-11 18:13:45 +02:00
Robin Gareus
f12a521a94
Allow builds with recent msys2/mingw
Thanks to EZ4Stephen
https://discourse.ardour.org/t/show-32-tracks-while-recording/112102/7
2025-10-11 15:02:57 +02:00
Robin Gareus
1f3ff4f5ed
Allow to toggle RTA Window using mixer-strip button 2025-10-10 22:06:07 +02:00
Robin Gareus
a196069a24
Add RTA to Track List 2025-10-10 21:14:22 +02:00
Robin Gareus
72a4ff130a
Show RTA button at the bottom of each mixer strip 2025-10-10 19:53:18 +02:00
Paul Davis
6836c93f21 only switch pianroll to UserRange after a drag actually changed things 2025-10-09 16:25:01 -06:00
Paul Davis
df564f132b new pianoroll note range enum, denoting "user selected range" 2025-10-09 16:25:01 -06:00