Commit graph

41590 commits

Author SHA1 Message Date
Paul Davis
8f253bf85d NO-OP: blank line removal 2025-08-06 11:15:23 -06:00
Paul Davis
0811ad2a3a NO-OP: no double semicolons 2025-08-06 11:14:58 -06:00
Paul Davis
f09ed269d0 use correct default scroomer size in initializer
this really has no effect but it's more consistent.
2025-08-06 11:12:38 -06:00
Paul Davis
6d76d104b7 pianoroll: reset various container positions in ::canvas_allocate() 2025-08-06 11:12:13 -06:00
Paul Davis
ffa0e3547b pianoroll header: parametize kbd width and use when rendering 2025-08-06 11:11:39 -06:00
Paul Davis
35ee5a54d5 pianoroll: connect to UI config param changes 2025-08-06 11:07:28 -06:00
Robin Gareus
f4da0ff76d
Fix MIDI panic timestamp at cycle-end
Previousy stopping, locating or looping in the middle of
an active MIDI note would generate unordered MIDI events
on the port. "it's too late for this event".
Usually caused by the MIDI state tracker adding a Note-Off
at cycle end and then MidiPort::resolve_notes adding a panic
message at cycle-start...
2025-08-06 04:56:38 +02:00
Robin Gareus
cf85399f38
Allow to remove inactive tracks 2025-08-05 23:16:02 +02:00
Robin Gareus
a250bd4e76
Allow to select inactive tracks
This is a prerequisite to allow to remove inactive tracks,
and operate on multiple selected inactive tracks (show/hide).
2025-08-05 23:16:02 +02:00
Robin Gareus
22e7b686ed
Add color scheme for inactive selected tracks 2025-08-05 23:16:02 +02:00
Paul Davis
b80b4b7869 remove debugging output 2025-08-05 11:42:23 -06:00
Paul Davis
389096b83b when importing SMF tempo map, use actual imported map duration
using timepos_t::max (AudioTime) leads to overflows in the beat time
domain, and then screws up details of TempoMap::paste()
2025-08-05 11:37:35 -06:00
Paul Davis
60d8e1b817 SMF: use new TempoMap::smf_*() API to build tempo map from smf info 2025-08-05 11:37:35 -06:00
Paul Davis
b65adb59cd temporal: fix some subtle misbehavior in TempoMap::cut_copy() 2025-08-05 11:37:35 -06:00
Paul Davis
0f1c5a9d7d temporal: add new smf_*() API for building a tempo map from SMF info 2025-08-05 11:37:35 -06:00
Paul Davis
ba00dc0920 temporal: add TempoMap::duration() method 2025-08-05 11:37:35 -06:00
Robin Gareus
cc3d867ac4
Fix "assertion 'child->parent == NULL'
add_button() already adds the button to the dialog.
2025-08-04 00:16:14 +02:00
Robin Gareus
38be8c2746
Amend #96431aa0d, use non-relative port-name to store connections 2025-08-03 16:14:54 +02:00
Paul Davis
a1fdac58e6 check for file existence before asking libxml to load a file 2025-08-01 18:35:50 -06:00
Robin Gareus
96431aa0d6
Fix #9961, update saved port-name references when renaming ports
Since internal connections are saved by port-name, renaming a port
also needs to update references that other ports have.
2025-08-02 02:25:36 +02:00
Robin Gareus
c8540a5ad6
Don't show generic MIDI patch-selector in bottom pane
It can take a few seconds to build 16 dropdown menus with
a few hundred entries, slowing down selection.
2025-08-01 03:03:28 +02:00
Robin Gareus
b34ca733d2
Fix attachment state when creating new session from running instance 2025-07-31 23:41:24 +02:00
Robin Gareus
9d0688fbd4
Amend 004f93a429: fix bottom attachment state 2025-07-31 23:35:43 +02:00
Paul Davis
6f3e461356 maybe finally fix data-note-range display for pianoroll after set-region 2025-07-31 12:05:10 -06:00
Paul Davis
d654d98661 fix a #warning about zoom focus state 2025-07-30 22:18:26 -06:00
Paul Davis
b6f1ff336e when adding a tempo/meter at end of map, no reset necessary
Also, the reset would malfunction which really ought to be fixed
2025-07-30 22:18:12 -06:00
Paul Davis
59f58946a9 correct math for setting SMF-imported tempo/meter positions 2025-07-30 22:17:33 -06:00
Paul Davis
bda4d195f1 remove erroneous debug line 2025-07-30 16:04:00 -06:00
Paul Davis
9c890f2690 zoom focus and snap mode get the stateful-action treatment 2025-07-30 15:28:46 -06:00
Paul Davis
298df2029b remove unused variable 2025-07-30 15:28:46 -06:00
Paul Davis
c9e4c405e1 followup to previous commit, enabling AudioTriggers to be cleared and then recorded 2025-07-30 15:28:46 -06:00
Paul Davis
7088022401 triggerbox: fix up slot clearing so that a cleared slot is recordable
There may be a race condition here: clearing a slot just before it
is being chosen in another thread as the next to run.
2025-07-30 15:28:46 -06:00
Robin Gareus
99a7770d5f
Build-script: retry download of external data
There are occasional build failures if the server providing
3rd party content cannot be reached. Notably x42-plugins.com
is lately overloaded by LLM scrapers again.
2025-07-30 16:16:54 +02:00
Robin Gareus
d1fd5452c9
Amend 0742fd8563, check if click_gain() is not null 2025-07-30 04:40:04 +02:00
Paul Davis
004f93a429 set defaults/values for various Editor settings (more) correctly 2025-07-29 20:25:25 -06:00
Paul Davis
1d4e3940d1 large-scale refactoring of Pianoroll, CueEditor and AudioClipEditor
Enables code-sharing between "clip editors"
2025-07-29 18:16:35 -06:00
Paul Davis
81ca93bdfb add region UI settings source to wscript 2025-07-29 18:16:35 -06:00
Paul Davis
20f2977bf3 new object to manage region (G)UI settings 2025-07-29 18:16:35 -06:00
Paul Davis
0b0dde46e0 waveview is the only type of canvas item that needs prepare for render
Also, virtual keyword in derived classes is redundant
2025-07-29 18:16:35 -06:00
Paul Davis
6c499b180b canvas: add a method to prevent extensive item coordinate math during ::prepare_for_render_children()
Also, auto-ify a loop in Item::prepare_for_render_children()
2025-07-29 18:16:35 -06:00
Paul Davis
9f49e6379d ArdourDropdown: new utility methods 2025-07-29 18:16:35 -06:00
Paul Davis
5b7b3860b8 NO-OP: function call whitespace niggle 2025-07-29 18:16:35 -06:00
Paul Davis
8037762690 braces, please 2025-07-29 18:16:35 -06:00
Paul Davis
9f4d84dcb4 fix StepEntry code to use new action registration API 2025-07-29 18:16:35 -06:00
Paul Davis
458c54990b gtkmm2ext: change action registration functions to return ToggleAction or RadioAction 2025-07-29 18:16:35 -06:00
Paul Davis
c6fc0d8283 NO-OP: newlines to spread out a series of catch() statements 2025-07-29 18:16:35 -06:00
Paul Davis
feb80d39f4 NO-OP: braces/newline/space style 2025-07-29 18:16:35 -06:00
Paul Davis
ddcb6fe3a6 add operator== for TriggerReference 2025-07-29 18:16:35 -06:00
Paul Davis
922b961672 auto-fication of a loop in Canvas::Item plus some variable renaming 2025-07-29 18:16:35 -06:00
Franke Burgarino
0fc28d3872
MCU: update controls when EQ type changes 2025-07-29 23:11:20 +02:00