Commit Graph

37347 Commits

Author SHA1 Message Date
Robin Gareus 68d910d58c
Catch another windows no-top-level issue
GTK+ on windows is weird on occasion :)
2023-05-15 22:47:36 +02:00
Ben Loftis 4b30239275 split route-coloring option into Tracks and Buses 2023-05-15 15:34:43 -05:00
Ben Loftis 9cb6c67f7b when coloring tracks: prefer the first strip-palette color, not a bg color 2023-05-15 15:34:43 -05:00
Ben Loftis f420c74598 avoid using red in the default stripable palette
* if regions-follow-track-color is enabled, regions kinda look selected
* red is generally reserved for active selection, recording, or errors
2023-05-15 15:34:43 -05:00
Robin Gareus b6b1aec50e
Fix selection after region duplicate (amend cfca2d2a) 2023-05-15 19:28:33 +02:00
Hoger Dehnhardt f958b7b0e0
With larger projects, the session was not initialised at this time 2023-05-14 22:50:35 +02:00
Robin Gareus 83555ec290
Consolidate playlist block & ignore notifications
Despite the names suggesting otherwise
`block_notifications` and `ignore_state_changes` are used
for the same purpose.

The only difference is that ::freeze ::thaw explicitly
modified `ignore_state_changes` **in addition** to
`block_notifications`.
2023-05-14 20:42:32 +02:00
Robin Gareus cfca2d2af9
Significantly speed up multiple region duplication
When multiple regions are duplicated Playlist::duplicate
is called sequentially for each region.

Previously that lead to a call to Playlist::flush_notifications
after each step, which is rather expensive.
Playlist::ContentsChanged and Playlist::LayeringChanged
trigger SessionEvent::Overwrite and GUI updates.
2023-05-14 20:42:31 +02:00
Robin Gareus e79d8b00f9
Speed up playlist rendering of non-overlapping MIDI Regions 2023-05-14 20:42:31 +02:00
Robin Gareus bcafa3d6aa
Tempo dialog is modal, grab focus from parent 2023-05-14 20:42:31 +02:00
Ben Loftis cceb917806 handle special cases of the first and last tempo-mapping markers
TODO: once all cases are recognized, we can probably simplify the logic
2023-05-14 09:05:08 -05:00
Ben Loftis 54969d8aab fix thinko resulting in duplicate bar-names after a tempo-mapping op 2023-05-14 09:05:08 -05:00
Robin Gareus 4192710ac8
Add Lua bindings to remove routes 2023-05-14 02:44:27 +02:00
Robin Gareus 5bbd248384
Add Lua bindings for std::list/vector clear 2023-05-13 17:38:41 +02:00
Robin Gareus 0afc0dd50d
Log video-monitor version during startup 2023-05-13 17:08:47 +02:00
Robin Gareus ca88794ab7
Engine-dialog: push splash on error
When starting the engine fails, the splash screen
needs to remain behind the dialog.
2023-05-12 03:34:47 +02:00
Robin Gareus a72962937f
Have some fun with Lua DSP 2023-05-12 02:49:37 +02:00
Robin Gareus 756c0a80c9
Emit Xrun in case process-lock cannot be acquired 2023-05-11 19:30:49 +02:00
Robin Gareus 1ac7f483da
VST3: set non-automatable parameters (#9321) 2023-05-11 18:50:15 +02:00
Robin Gareus 57017267cf
Prefer try-lock in process-callback 2023-05-11 18:38:02 +02:00
Robin Gareus 79e6830d21
VST3: allow to set non-automatable params (#9321) 2023-05-11 02:11:05 +02:00
Robin Gareus b1a771d36b
Fix windows builds (type mismatch/error) 2023-05-08 22:05:56 +02:00
Robin Gareus 1940dfbb28
NO-OP: cleanup includes 2023-05-08 22:02:37 +02:00
Robin Gareus ee2bae5aa8
Fix std::optional -> boost::optional API 2023-05-08 22:02:21 +02:00
Hoger Dehnhardt 0d2d30f1a7
Softube Console1 add surface (gtk2_ardour) 2023-05-07 18:19:45 +02:00
Hoger Dehnhardt 1dc879eb8d
Softube Console1 add surface (libs) 2023-05-07 18:19:40 +02:00
Robin Gareus 63e0ac11ad
Prepare cut/copy/paste tempo-map sections
This currently asserts in Range::subtract, also ripple
is not yet implemented.
2023-05-07 02:04:47 +02:00
Robin Gareus 1d1a1e87ec
Fix another lv2core header include 2023-05-07 01:41:01 +02:00
Robin Gareus 495b27c742
Fix lv2core header include 2023-05-06 18:28:35 +02:00
Robin Gareus da9ec02662
Fix typo in bf4decbfe 2023-05-06 18:16:49 +02:00
Robin Gareus 0b48d421d5
Add LV2 header include compatibility (1/2) 2023-05-06 16:20:01 +02:00
Robin Gareus bf4decbfe7
Add LV2 header include compatibility (1/2)
For whatever reason LV2 changes #include header locations
in a micro version release and disables backwards compatibly
by default.
2023-05-06 16:20:01 +02:00
Paul Davis b9e5621e03 during map reset, force meter to bars, and tempo to beats 2023-05-05 20:53:23 -06:00
Paul Davis 240a85097c when editing tempo, round position to beat in GUI 2023-05-05 20:52:48 -06:00
Paul Davis 32a3591018 remove #warning 2023-05-05 18:57:16 -06:00
Paul Davis 9e8eed8a03 temporal: various tweaks to get TempoMap::get_grid() to be more correct/robust 2023-05-05 18:56:01 -06:00
Paul Davis 7c07a9964a temporal: add operator<<(ostream&) for BBT_Argument 2023-05-05 18:55:27 -06:00
Paul Davis fafc891ca6 add ripple option API for TempoMap::cut() 2023-05-04 18:49:06 -06:00
Paul Davis 7f977bf3e4 add skeleton unit test for tempo map cut buffer 2023-05-04 18:48:50 -06:00
Paul Davis b3a127d318 temporal: TempoMap::paste(), TempoMapCutBuffer::dump() and cut/copy fixes 2023-05-04 17:09:19 -06:00
Paul Davis a8424e8617 temporal: implement (maybe) cut-copy for tempo map 2023-05-04 15:45:09 -06:00
Paul Davis f7ba9af6b2 temporal: stub API for tempo map cut/copy/paste 2023-05-04 15:10:56 -06:00
Paul Davis b3040a31fc temporal: a basic data structure to hold the result of a TempoMap cut/copy operation 2023-05-04 15:10:56 -06:00
Robin Gareus 6572b8d409
Fix cross-compile linking (libusb - see also 5794d21a76) 2023-05-04 21:31:13 +02:00
Robin Gareus f589aedcfe
Fix Windows builds (pthread_t) 2023-05-04 21:13:17 +02:00
Paul Davis baf307838c push2: change ordering within destructor to avoid event loop thread drawing-after-delete 2023-05-04 12:34:37 -06:00
Robin Gareus 617caf9e98
CPM: precent concurrent protocol activision
This can happen when a device is already connected
while Arodur is stating. The butler thread may activate it
(immediately post-engine), while the GUI thread tries
to do the same later when restoring state.
2023-05-04 18:44:02 +02:00
Ben Loftis a258b82ce9 tweak behavior and naming of tempo-map drags:
* correctly handle clicks on the immediate right or left of a beat line
* prefer Mid-Twist and End-Stretch terminology over Twist and Linear
* static-tempo vs ramped-tempo is orthogonal to mid- and end- drags (TODO)
2023-05-04 09:33:08 -05:00
Ben Loftis 912f9e5ea3 provide functions for both linear and ramped tempo-twists 2023-05-04 09:22:28 -05:00
Robin Gareus 1b6e4b0b84
Implement marker copy/paste section 2023-05-04 06:25:59 +02:00