13
0
Commit Graph

39697 Commits

Author SHA1 Message Date
f73d09766b
Merge branch 'ardour' 2024-07-10 19:52:42 +02:00
c3d90f415c
Fix fader/trim automation after locate
First see 31c6f66d9b and 5cb6e1046b.

It worked previously due to `AutomationControl::get_value`
evaluating automation, which was removed in 5cb6e1046b
in favor of properly using latency compensated evaluation.

However due to 31c6f66d9b, fader and trim automation were
never evaluated on locate, only during playback via
`Amp::setup_gain_automation`.

This fixes a case where gain is incorrect after a locate.
The amp still has the gain from before the locate, and when starting
playback ramps to the new gain.
2024-07-10 19:26:02 +02:00
456fd29971
Merge branch 'ardour' 2024-07-10 15:39:57 +02:00
ab0d2dce6f
Fix reduced channelcount when restarting engine with different device
1. Start engine with a stereo soundcard (n_inputs was set to 2)
2. Restart engine with multi-channel soundcard, n_inputs remained a 2)
2024-07-10 15:39:01 +02:00
d6b14e761b
Remove unused backend channel count config API 2024-07-10 15:39:01 +02:00
a54a6c40a4
Prepare for API removal
`set_input/output_channels` API to limit a device to the first
`N` chnanels is somewhat ill conveived and was never really
used or useful. LiveTrax has a bitset of exposed channels,
which makes a lot more sense (e.g. hide ADAT or S/Pdif, or
some specific channels)
2024-07-10 15:39:01 +02:00
f200962c49
Merge branch 'ardour' 2024-07-10 12:36:23 +02:00
249442fe99 JACK backend: fix race condition caused by not wrapping jack_set_property() in JACK_SERVER_CALL 2024-07-09 10:14:39 -06:00
df515ab30a do not add "direct" to the name of direct out sends after a route rename 2024-07-09 09:52:42 -06:00
ea99222240 remove debug output 2024-07-09 09:15:42 -06:00
945f286028 use Send::set_owner() so that direct outs show up with better names 2024-07-09 09:04:00 -06:00
0836d8cd27 Add Send::set_owner()
We need the owner set to name direct out sends appropriately
2024-07-09 09:04:00 -06:00
d4253860f7 JACK backend: fix race condition caused by not wrapping jack_set_property() in JACK_SERVER_CALL 2024-07-09 09:04:00 -06:00
5aff7bfaeb L: always arrange left->btm to match existing docs 2024-07-08 12:45:44 -05:00
decc9c1d19 LT: do not show regular outs from tracks in audio connections window 2024-07-08 11:07:47 -06:00
7052f57ee9 no drag-n-drop for VCA masters, since they are intended to be non-reorderable 2024-07-03 18:48:39 -06:00
e8ff2a9c5c Merge branch 'ardour' 2024-07-01 22:45:21 -06:00
78ea2521b0 fix previous commit to Kurzweil K2700 MIDNAM 2024-07-01 22:44:51 -06:00
270571a8fd Merge branch 'ardour' 2024-07-01 16:32:31 -06:00
dd4abedb8c add <Author> to Kurzweil K2700 MIDNAM 2024-07-01 12:27:35 -06:00
630587ee3f
VST2: amend prev commit, ignore SysEx and invalid MIDI events 2024-06-30 23:07:29 +02:00
Attila M. Magyar
e1ef129ab0 VST2: store VstMidiEvents with the correct size
...otherwise MidiBuffer::push_back() will drop them. (E.g.
MIDI_CMD_CHANNEL_PRESSURE events are just 2 bytes, not 3.)
2024-06-30 22:47:38 +02:00
Attila M. Magyar
5360ba0000 VST3: store kAfterTouch events with the correct size
...otherwise MidiBuffer::push_back() will drop them.
2024-06-30 13:11:53 +02:00
80d4950536
Merge branch 'ardour' 2024-06-29 01:59:56 +02:00
18f68d8f5f L: set a fixed-size for file format, and prevent changes if any track armed 2024-06-28 10:05:30 -05:00
76877483a5 L: never, ever show BBT clock 2024-06-28 09:35:06 -05:00
41b6c8a5bf fix previous commit (typo) 2024-06-27 16:51:16 -06:00
8efab1c796 fix handling of MIDI controller MSB & LSB values
The MIDI specification makes it quite clear that when a receiver
receives the MSB of a 14 bit controller value, it should consider
the LSB reset to zero. This has been an error in Ardour for many,
many years, though likely of little consequence
2024-06-27 16:42:00 -06:00
da520cecf3
Yet another attempt at gcc-14 lstat/realpath (#9703 PR #893)
See also 4b8b5acfc4 and realpath(3)

```
realpath():
   _XOPEN_SOURCE >= 500
       || /* Glibc since 2.19: */ _DEFAULT_SOURCE
       || /* Glibc versions <= 2.19: */ _BSD_SOURCE
```
2024-06-27 17:01:46 +02:00
ac159d899b new MIDNAM for the Kurzweil K2700, from Nikolaos Strikos <strikosn@gmail.com> 2024-06-26 17:19:59 -06:00
c218b34f7f
L: use new IO PortSet API 2024-06-25 17:38:58 +02:00
a1a0033748
Merge branch 'ardour' 2024-06-24 23:49:53 +02:00
1f368900e3
Update GUI to use new IO PortSet API (2/2) 2024-06-24 22:19:51 +02:00
2e23ec4422
Use RCU to for IO::_ports (#9730) 1/2
This removes the _io_lock in favor of a RCU.
The reason for this change is to ensure data structure
consistency, notably iterators. Previously adding/removing
ports invalidated iterators, which caused [rare] crashes,
since IO::ports() simply returned a PortSet reference.

(This breaks API)
2024-06-24 22:19:22 +02:00
8718a1ba99
Remove redundant queue_draw calls 2024-06-22 18:10:21 +02:00
e6bdf31483
Prelight group-tab bars (backport from LiveTrax) 2024-06-22 18:10:00 +02:00
9c50e77ddb
Merge branch 'ardour' 2024-06-22 18:06:57 +02:00
bdd6eec95c
Constrain height of group-tab to the editor's height
Previously the group-tab extended all the way down to the
last track. Potentially with a widget height of > 2^15 px.

This caused issues with gtk widgets (notably on Windows)
```
unhandled exception (type std::exception) in signal handler:
what: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
```

This also prepares for Mixer Tab-Group to use the same
separation between visible and total extent.
2024-06-22 17:44:20 +02:00
b19654887b Merge branch 'ardour' 2024-06-21 20:34:38 -06:00
c94ca79798 provide access to the trace parser (if any) for a MidiPort 2024-06-21 20:31:29 -06:00
765a8b3303 Merge branch 'ardour' 2024-06-21 15:47:23 -06:00
df7fe4fb91 MIDI tracer: don't update ports if audio engine is not running when ports_changed() is called 2024-06-21 15:46:59 -06:00
bbcaf617c4 async MIDI ports run output trace parser scanner if there is one 2024-06-21 15:46:59 -06:00
af9472ecb6 fix naming of MIDI scene changes
Or at least make the arithmetic precedence clearer
2024-06-21 15:46:59 -06:00
d7f9b659f2 slightly improve mgmt of shared_ptr<MIDISceneChange> 2024-06-21 15:46:59 -06:00
f54fd286ee MIDI scene changes should use bank 0 if no bank msg has been seen 2024-06-21 15:46:59 -06:00
10cd3c85cd when delivering a MIDI scene change, ensure trace parser sees the data 2024-06-21 15:46:59 -06:00
0e7a5235e1 MIDI tracer: don't update ports if audio engine is not running when ports_changed() is called 2024-06-21 15:46:22 -06:00
b91e9fbe64 async MIDI ports run output trace parser scanner if there is one 2024-06-21 15:46:22 -06:00
cdab8f950f fix naming of MIDI scene changes
Or at least make the arithmetic precedence clearer
2024-06-21 15:46:22 -06:00