Commit Graph

39566 Commits

Author SHA1 Message Date
Paul Davis
b4e592a469 adjust relationship between VerboseCursor and Editor to use EditingContext 2024-10-17 07:44:29 -06:00
Paul Davis
8bbe117e6b add preprocessor guard clauses 2024-10-17 07:44:29 -06:00
Paul Davis
2187c63bee add stub for cue editor 2024-10-17 07:44:29 -06:00
Paul Davis
1bf2307137 more reorganization of implementations between Editor & EditingContext & PublicEditor 2024-10-17 07:44:29 -06:00
Paul Davis
7d5f575d61 finish inheritance work between EditingContext & Editor
this completes the initial phase of defining what an EditingContext must offer,
though the may expand or shrink as we being work on editing outside the Editor
2024-10-17 07:44:29 -06:00
Paul Davis
3341184f8c clean up minor mess after manual rebasing 2024-10-17 07:44:29 -06:00
Paul Davis
dee8e920e6 editing refactoring, the drag part 2024-10-17 07:44:29 -06:00
Paul Davis
089a9521d5 steps to an ecology of editing 2024-10-17 07:44:29 -06:00
Paul Davis
744b491162 PublicEditor IS-A MidiEditingContext 2024-10-17 07:44:28 -06:00
Paul Davis
722d74c3ef skeleton work for a MidiEditingContext, incomplete 2024-10-17 07:44:28 -06:00
Paul Davis
e3d790207f modify MIDITrigger to use an RTMidiBuffer<Beats,Beats> for playback, not a MidiModel
Creating an iterator on a MidiModel (Sequence) creates a read-lock on the same,
which exists until the iterator is destroyed.

This new designs renders the model/source to an RTMidiBuffer, then atomically
swaps in a new RTMidiBuffer in an RT context.

Not yet implemented in this temporary branch is handling required
state-changing messages when the buffer is swapped.
2024-10-17 07:44:28 -06:00
Paul Davis
a4a277c141 templatize RTMidiBuffer to allow use in different time domains
Also add ::track_state() method to configue a MidiStateTracker
to correspond to the state implied by an RTMidiBuffer<T,D>
at a given point in time.
2024-10-17 07:44:28 -06:00
Paul Davis
b693d07fcb Add a new ::render() method to MidiSource that writes to an EventSink 2024-10-17 07:44:28 -06:00
Robin Gareus
0986b8d1e8 Revert "Only enable RegionFX in debug builds for the time being"
This reverts commit d525f8d60c.
2024-10-17 15:36:29 +02:00
John Emmas
b6cb758357 Another minor tweak to fix a build issue with MSVC/c++17
Fixes a conflict between 'std::byte' (new in c++17) and earlier declarations / typedef's that defined 'byte'
2024-10-17 12:07:05 +01:00
Robin Gareus
0a0848b2d6 Set LiveTrax binary name when packaging 2024-10-16 20:21:19 +02:00
Robin Gareus
d525f8d60c Only enable RegionFX in debug builds for the time being
This reverts commit 14ff2f2e68.
2024-10-16 18:29:51 +02:00
Paul Davis
6149771910 fix yet more cases where SMF are imported and named incorrectly 2024-10-15 22:35:04 -06:00
Paul Davis
5c2e1bd807 fix another case where SMF are imported and named incorrectly 2024-10-15 21:22:10 -06:00
Alexandre Prokoudine
3221e9bc85 MIDI map for M-Audio Axiom 49 MkII by Francois-Xavier Thomas 2024-10-16 00:00:28 +02:00
Paul Davis
cab7fdf3d0 when d-n-d'ing SMF, use file & track name for the new sources and regions 2024-10-15 09:36:42 -06:00
Robin Gareus
2d0f472af5 Consolidate macOS version parser 2024-10-15 00:57:10 +02:00
Mads Kiilerich
0d4bce8663 backends: Fix class name in debug and error messages for set_latency_range and get_latency_range traces 2024-10-15 00:41:12 +02:00
Mads Kiilerich
99ba70384a FaderPort8: Improve DEBUG_TRACE messages 2024-10-15 00:41:12 +02:00
Mads Kiilerich
5c763c99ba FaderPort8: Use explicit "Port 1" for FP8 too
84e38b4c65 made the same change for FP16.

It has apparently not been necessary for FP8 so far, because backends
have happened to report "Port 1" before the control port. But that is
not necessarily the case. It failed for me when playing around.

Change FP8 handling to also not make assumptions about the device order
returned by the backend.
2024-10-15 00:41:12 +02:00
Robin Gareus
3171eb5aa1 C++17 requires macOS 10.13 or later 2024-10-15 00:35:50 +02:00
Mads Kiilerich
b7249c8fe7 build: Set _POSIX_C_SOURCE=200809L instead of comment about -std=gnu99 in 8fea1ea42e
We are converging towards setting it globally.
2024-10-14 22:57:15 +02:00
Mads Kiilerich
57c5aa95f7 preferences: Don't lowercase 'ardour' in the 'monitoring' list between 'Audio Driver' and 'Audio Hardware'
c7ec2bb gave the other "Record monitoring handled by" options nice title
casing. Now allow the application name to use a similar style.
2024-10-14 22:56:45 +02:00
Robin Gareus
eb87b0e2eb Remove old safety check
These days it only produces false positives (locate at start
of session export).

We leave `ENSURE_PROCESS_THREAD` in place, since it may
come in handy at some point (eg. static analysis, documentation)
2024-10-14 22:52:37 +02:00
Daniel Appelt
6a2d3fcbec Add script that duplicates regions on the grid 2024-10-14 21:59:14 +02:00
Robin Gareus
8115578d4e Add RT thread priority debugging 2024-10-14 21:49:56 +02:00
Robin Gareus
87fdec1c51 Add preference to configure Disk I/O Thread priority 2024-10-14 20:59:59 +02:00
Robin Gareus
63d3d1ff3d Initialize fader's numeric entry adjustment
Previously the internal adjustment used for numeric entry
was left at 0 if the BarController's adjustment was never modified.
2024-10-14 17:58:00 +02:00
John Emmas
fd8808d7b8 Minor declaration issue that upsets MSVC/c++17 2024-10-13 11:39:48 +01:00
cooltehno
944e9720bd Update recbox-ardour.colors 2024-10-11 14:45:05 +02:00
cooltehno
9727895fc8 Update cubasish-ardour.colors 2024-10-11 14:43:45 +02:00
cooltehno
b88a6733d6 Update clear_gray-ardour.colors 2024-10-11 14:43:00 +02:00
cooltehno
c64abef1d0 Update captain_light-ardour.colors 2024-10-11 14:42:14 +02:00
cooltehno
63406c7139 Update unastudia-ardour.colors 2024-10-11 14:41:07 +02:00
cooltehno
37ef68f17a Update diehard3-ardour.colors 2024-10-11 14:40:18 +02:00
cooltehno
01f945caee Update xcolors-ardour.colors 2024-10-11 14:39:20 +02:00
cooltehno
071c5790b0 Update caineville-ardour.colors 2024-10-11 14:38:19 +02:00
cooltehno
8e4398bc37 Update adwaita_dark-ardour.colors 2024-10-11 14:37:26 +02:00
cooltehno
f18291c20d Update blueberry_milk-ardour.colors 2024-10-11 14:36:33 +02:00
g
6e6511b028 ardour.desktop.in add NSM related keys 2024-10-11 14:35:07 +02:00
Robin Gareus
0aff098541 Fix IO Thread priority
This adds `pbd_pthread_priority` indirection to correctly get
the absolute thread priority.

and for consistency a 4 letter enum is used.
2024-10-11 10:06:49 +02:00
Robin Gareus
5efa5b4529 Optimize audio region read when no regionFX are used 2024-10-10 02:45:03 +02:00
Paul Davis
43dd75b10e invalidate audio region cache when the region _start changes 2024-10-09 16:53:55 -06:00
Robin Gareus
14ff2f2e68 Revert "Only enable RegionFX in debug builds for the time being"
This reverts commit cae710cd7c.
2024-10-09 20:49:36 +02:00
Paul Davis
2a96c9ce98 fix issues with MIDI playback (and who knows what else) near start of roll 2024-10-08 08:36:23 -06:00