Commit graph

41602 commits

Author SHA1 Message Date
Paul Davis
3015e18c18 make count in text more likely to appear as expected 2025-10-27 19:35:41 -06:00
Paul Davis
3762743691 remove debug output 2025-10-27 16:05:48 -06:00
Paul Davis
e6b20df671 if Region::tempo_map() finds no tempo info in the source, use the global map 2025-10-27 16:02:47 -06:00
Paul Davis
ece2b125b1 spacebar during unbounded clip recording does something closer to right 2025-10-27 15:18:19 -06:00
Paul Davis
3b6b1bdd93 triggerbox: change API for finish_recording() and captured() to not require BufferSet 2025-10-27 14:32:54 -06:00
Paul Davis
1400fe012e clip recording: store tempo and meter for audio files created during clip recording
Information taken from the timeline - we assume you're going to play in time with the tempo map.

Future work: no other material in session - determine tempo (and meter? - super hard) from
recorded clip
2025-10-27 11:09:54 -06:00
Paul Davis
6badce2d3a triggerbox: modify source-building API to include timeline position 2025-10-27 10:52:07 -06:00
Paul Davis
9194d93213 NO-OP: correct comment 2025-10-27 10:51:45 -06:00
Paul Davis
1fa666c090 refactoring of various clip GUI code
This better defines when a region/trigger/track is being set and
signals connected/disconnected to/from, along with some more
code sharing between the MIDI (Pianoroll) and audio (AudioClipEditor)
versions of things
2025-10-27 09:27:24 -06:00
Paul Davis
5cdeaf6063 audio clip editor; add support for count-in display 2025-10-27 09:27:24 -06:00
Robin Gareus
d2b1b6f8ed
Fix importing Type-1 SMF
* handle files with just one track (no meta-data)
* fix splitting by channel (ignore meta-data only tracks)
* retain per track meta-data
2025-10-26 22:45:32 +01:00
Paul Davis
846f7b281a track rec-enable does NOT enable triggerbox recording
This was leftover from an earlier conception of how clip recording might work
2025-10-26 09:46:21 -06:00
Robin Gareus
49c71cb3ef
Log an error message when ignoring invalid SMF 2025-10-26 15:19:42 +01:00
Robin Gareus
9786e6035f
Fix crash due to concurrent sndfile access
Peak files are built int background which can happen concurrently
to estimating tempo. Notably when importing large .flac files
this can cause a crash because libsndfile API does not allow
for concurrent use of the same SNDFILE object.
2025-10-26 15:10:46 +01:00
Robin Gareus
02af9cb3d6
Fix MIDI Source debug dump 2025-10-26 02:15:22 +02:00
Paul Davis
b77d9118b6 trigger UI: respond to captured regions, and select slot on rec-arm 2025-10-25 15:26:48 -06:00
Paul Davis
1ae056bfd8 triggerbox UI: find TriggerEntry from Trigger 2025-10-25 15:26:22 -06:00
Paul Davis
8a66082429 tweak API for TriggerBoxWidget, allow access to TriggerBoxUI member 2025-10-25 15:25:48 -06:00
Paul Davis
7b5030bdf1 add API to retrieve triggerbox widget from trigger strip 2025-10-25 15:17:18 -06:00
Paul Davis
8641e155cf audio clip editor: set region when trigger is set 2025-10-25 15:16:29 -06:00
Paul Davis
67c45dd44d audio clip editor: do not short circuit repeated set_trigger() w/same trigger 2025-10-25 15:16:15 -06:00
Paul Davis
9bc1e2ad79 remove debug output 2025-10-25 15:15:20 -06:00
Paul Davis
48ea440f87 triggerbox: emit a signal when a region has been created post-capture 2025-10-25 15:15:02 -06:00
Paul Davis
4c95a82934 removed unused variable 2025-10-25 14:58:56 -06:00
Paul Davis
fa7d9de669 make a comment more accurate 2025-10-24 16:52:27 -06:00
Paul Davis
14fe5ef999 fix crash when using automation buttons in empty pianoroll 2025-10-24 14:57:23 -06:00
John Emmas
2fd39916a6 Update 'targetsxs.h.input' for EZ4Stephen, who's trying to build with MSVC:-
https://discourse.ardour.org/t/building-with-msvc-powershell-errors/112468/9
2025-10-24 09:38:43 +01:00
Paul Davis
aeb42f3adb improve condition for connecting clip recording status and monitoring state 2025-10-23 21:12:55 -06:00
Paul Davis
e5d95d0d06 improve 2 DEBUG_TRACE messages associated with peakfile operations 2025-10-23 17:44:55 -06:00
Paul Davis
9a9000ada3 build peakfiles for sources created as part of audio clip recording 2025-10-23 17:44:55 -06:00
Robin Gareus
544222400c
Some more fixes for MSVC/waf
https://discourse.ardour.org/t/building-with-msvc-powershell-errors/112468
2025-10-23 16:13:15 +02:00
Paul Davis
4b17e720ae remove unused variable 2025-10-22 15:22:54 -06:00
Paul Davis
20eaf07e5a better solution for send prop change on trigger stop
this amends 8a262e26fb7f3 and avoids sending the change on every
transport stop etc
2025-10-22 15:08:30 -06:00
Paul Davis
5348544482 minor tweaks when drawing triggerbox entries in GUI 2025-10-22 15:08:30 -06:00
Paul Davis
ff6cced4a5 triggers: always send property change when a trigger stops 2025-10-22 15:08:30 -06:00
Paul Davis
5e9331bb73 clip recording: shrink fade in/out to 1msec 2025-10-22 15:08:30 -06:00
Paul Davis
0a70bf9ed0 add/tweak DEBUG_TRACE output for triggers/audio capture 2025-10-22 15:08:30 -06:00
Paul Davis
824bef68dc triggers; do not reset stretcher for audio clips after capture
We don't stretch/shrink captured clips by default, and this operation is not thread-safe
2025-10-22 15:08:30 -06:00
Robin Gareus
8793a2f870
Fix/amend previous commit 2025-10-22 19:34:48 +02:00
Robin Gareus
78677b672c
Copy more mingw branches for MSVC 2025-10-22 18:48:40 +02:00
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