Commit Graph

41910 Commits

Author SHA1 Message Date
Damien Zammit
dc7a95c54f import_pt: Fix for multichannel tracks and regions #9705
Also speeds up PT imports during region creation.
This is because regions are imported immediately when sources
are grouped into multichannels rather than doing it in another pass
2026-01-06 09:19:21 +11:00
Damien Zammit
d1ffeb7038 import_pt: Use new bulk create method for adding tracks #9730
Speeds up imports tremendously.
2026-01-06 09:19:03 +11:00
Damien Zammit
27653eaeba session: Add new_audio_routes_tracks_bulk() method
This allows bulk creating tracks with different name templates.
Simply call the bulk method multiple times as required and finally
call add_routes() once.
2026-01-06 09:15:27 +11:00
Colin Fletcher
f026a8acbf soundcloud, freesound: use correct curl option for progress bars
Although setting CURLOPT_PROGRESSDATA appears to work to set the pointer
passed into the new CURL_XFERINFOFUNCTION option, the documented option is
now CURLOPT_XFERINFODATA.
2026-01-05 18:09:15 +00:00
Colin Fletcher
ca437aebee freesound: fix download progress bar
Missing part of 821385eb.
2026-01-05 18:06:44 +00:00
Colin Fletcher
7cf65ec695 freesound: updated API key & client secret
New API key (client ID) & client secret from freesound.org, to change the
application name from "Ardour 7" to "Ardour".
2026-01-05 17:17:04 +00:00
Robin Gareus
821385ebfd Update curl to use new API (2/2) 2026-01-05 16:41:27 +01:00
Robin Gareus
f5e48a6bda Update curl to use new API (1/2) 2026-01-05 16:41:17 +01:00
Robin Gareus
ab724881e3 Remove unused deprecated GTimeVal in global header
This significantly reduces compiler warnings..
2026-01-05 03:33:02 +01:00
Paul Davis
f2744a9ce8 improve behavior when editing BBT markers
setting the name should now work reliably, in particular
2026-01-04 17:05:07 -07:00
Paul Davis
2bb259f6cb prevent drags on the tempo/meter markers representing a BBT marker 2026-01-03 09:55:36 -07:00
Martin Vlk
1420b67edb Czech translation updates for v9.0 2026-01-03 15:22:48 +01:00
Paul Davis
9855a23903 MIDI triggers: make sure velocity scaling is not cumulative (see comments) 2026-01-02 17:32:48 -07:00
Paul Davis
267efab6e8 remove typo from magit process 2026-01-01 20:29:06 -07:00
Paul Davis
a144d3e80d temporal: when resetting the tempo map, stop at BBT markers
This was always the intended behavior, but not implemented even
close to that intention.
2026-01-01 20:11:12 -07:00
Paul Davis
985432e9bd fix behavior when add new meter events
We need to use a BBT reference based on existing BBT markers, not zero.
2026-01-01 20:11:12 -07:00
Paul Davis
bbf5bd6043 temporal: provide a map to get the BBT reference point before a superclock time 2026-01-01 20:11:12 -07:00
Paul Davis
52c7d6ab77 temporal: customize the implementation of get_tempo_and_meter for BBT_Time
We must not walk past a MusicTimePoint if the reftime is a BBT_Argument.

May try to fold this back into the fully-templated version in a subsequent commit.
2026-01-01 20:11:12 -07:00
Paul Davis
e53ba509df temporal: move operator<< for tempo map types before TempoMap
This allows us to use them inside the header when defining
TempoMap methods there.
2026-01-01 20:11:12 -07:00
Paul Davis
2be3421576 include AnyTime::BBT_Offset in handled cases, even if we just fatal()-out 2026-01-01 20:11:12 -07:00
Robin Gareus
8c81e40028 Amend 45b940d (v2 session bus convert) 2026-01-01 23:19:11 +01:00
Robin Gareus
c50bf3d113 Force message dialog on top when no parent is set 2026-01-01 23:05:41 +01:00
Robin Gareus
45b940d648 Convert v2 and v3 busses to modern Ardour #10089 2026-01-01 22:28:52 +01:00
Robin Gareus
5677d30d3e Fix loading 2.x sessions (forced set_active toggle) 2026-01-01 22:17:21 +01:00
Robin Gareus
1423f13f49 Ardour is now as old as Kurt Cobain, Jimi Hendrix, Janis Joplin, Jim Morrison, Amy Winehouse,... 2026-01-01 13:51:50 +01:00
Ayan Shafqat
730e4425dc aarch64: apply absolute value to peak computation 2025-12-30 10:51:29 -05:00
Ayan Shafqat
98eab68044 aarch64: fix unaligned count and peak computation
Clamp misaligned prefix loops to the remaining frame count to avoid
nframes underflow and potential out-of-bounds access for small buffers.

Apply vabsq_f32() to all SIMD loads before peak reduction to ensure
correct absolute peak calculation in unrolled NEON paths.
2025-12-29 20:12:43 -05:00
Aleksandr Prokudin
b673989763 Update Russian translation for 9.0, part 1 2025-12-29 23:59:18 +01:00
Paul Davis
bb973f18dc remove debug output 2025-12-29 15:56:56 -07:00
Paul Davis
c8a4260f5c rename some variables in Session::import_files to make their purpose more clear 2025-12-29 15:51:04 -07:00
Paul Davis
1ee76f4178 Fix for importing SMF Type 1 files with one track containing only meta-data (#10076)
This fails when done via direct import into a cue slot which assumes that all sources created
must be associated with the region, and that each source must have a model.

This change drops the metadata-only track/source from being returned by Session::import_files()

Note that in order to avoid refcnt'ing from prolonging the life of the source we want to drop,
we do not announce the sources when they are created, but defer that until we know they are
going to be used post-import
2025-12-29 15:48:38 -07:00
Paul Davis
30de221be5 libardour: add FileSource::mark_removable()
This might not actually be necessary, but the symmetry is nice
2025-12-29 15:40:01 -07:00
Paul Davis
4c5ed82045 NO-OP: remove some newlines 2025-12-29 15:39:11 -07:00
Paul Davis
6078712314 Point::sample() rename, but for the GUI 2025-12-29 09:14:02 -07:00
Paul Davis
8f815e21ea temporal: rename Point::sample() to Point::sample_is_dangerous()
It is risky to take the sample value returned by this method and then convert it back
to either superclocks or beats, mostly because tempo & meter times are generally in
music time, and converting from superclocks to samples loses precision.

This rename is there to serve as a reminder to developers to be careful when using
this method
2025-12-29 09:14:02 -07:00
Robin Gareus
22eee12f55 Fix crash when changing aux-panner state #10077
MixerStrip::show_send() may unset _panner if the send
has no panner. When then triggering an action that emits
`Pannable::automation_state_changed` (like un/link send panners)
of the main panner, Ardour crashed.

Note that PannerUI::set_panner already handed that case.
2025-12-29 09:56:42 +01:00
Robin Gareus
41c90a2063 Fix MIDI import edge-case when doubling allocation is insufficient
MIDI file from #10079 - see also 65332e603b
2025-12-29 09:23:56 +01:00
Krzysztof Gajdemski
8b2ede4d1a Update Polish translation 2025-12-29 09:03:01 +01:00
Paul Davis
369fc2c15c temporal: fix a major thinko when removing/replacing map points
Despite comments already in the code, the logic used to remove a
{Tempo,Meter,BarTime} point from the _points list was incorrect. While it is
true that we can use a duple of (type,time) to find a given point,
::remove_point() was not doing that and instead assumed just the time value
could be used.

This meant that if you placed a tempo and meter at the same point in time, then
changed one of them, ::remove_point() could remove the wrong point from the
_points list.

In #10063 this manifests as the wrong grid being drawn after a tempo point
edit.

This commit alters the ::core_remove_xxx() methods to return a pointer to the
actual Point object that was removed from {_tempos,_meters,_bartimes} and then
we pass that to ::remove_point() for lookup and removal by address.

It also "fixes" a couple of instances of ::core_remove_xxx() without any
removal from the _points list (since ::core_remove_tempo() and
::core_remove_meter() do not do this; ::core_remove_bartime() does,
however). It is not immediately obvious what bad behavior would arise from the
existing code in these cases, but it seems clearly incorrect that the _points
list would contain points no longer present in _tempos or _meters.
2025-12-27 12:14:49 -07:00
Paul Davis
f1b80cdbe1 temporal: add & use a couple of TempMap methods for unit testing 2025-12-27 12:14:49 -07:00
Paul Davis
f742ef661b temporal: slightly improve addRemoveTest 2025-12-27 12:14:49 -07:00
Paul Davis
fee0af27cf temporal: new addRemoveTest unit test 2025-12-27 12:14:49 -07:00
Paul Davis
bd5b8b82a6 remove debug output 2025-12-27 12:14:49 -07:00
jujudusud
a64c8a83b9 Update the translation into French 2025-12-24 16:21:44 +01:00
Franke Burgarino
52e493b49b Fix typo 2025-12-22 13:25:59 -06:00
Paul Davis
adf0d52872 fix editing of meter & tempo points
when these points have times set in beat time (which they nearly always do), converting
their superclock time to samples and back loses accuracy. this caused the TempoMap to
find the wrong earlier points in the map.

It is still up for consideration that the editing code ought to identify explicitly
that we're working on an existing point, or adding a new one, and avoid lookup
by time for the existing points
2025-12-21 21:49:19 -07:00
Edgar Aichinger
cf40d5d5d0 add translated string again after typo fix by Alexandr 2025-12-20 16:59:08 +01:00
Edgar Aichinger
ea940a3a53 update german translation 2025-12-20 16:58:43 +01:00
Aleksandr Prokudin
04aa1f6476 Fix a typo spotted by @edogawa 2025-12-20 15:32:59 +01:00
John Emmas
8a3b7f3701 A minor comment change 2025-12-20 12:27:09 +00:00