View Issue Details

IDProjectCategoryView StatusLast Update
0009775ardourfeaturespublic2025-11-13 22:03
Reporterideologyheadcount Assigned To 
PrioritylowSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Product Version8.6 
Summary0009775: Feature Request: Replace/swap audio media
DescriptionAlthough it was mentioned in the forums at the link below, I don't see it as being added to the tracker.
https://discourse.ardour.org/t/replace-swap-audio-media/106160/1

Essentially, this is a request for a basic method of swapping audio samples.
Tagsmedia, replace, samples

Activities

pyrotek45

2024-08-15 02:17

reporter   ~0028930

this would be nice, it would be cool if this was an option that would pop up during a drag an drop one sample onto another.

Krio

2025-11-13 21:59

reporter   ~0029521

Could you please reconsider this feature Request: Replace Source File Without Losing Edits

Problem:
Once a large audio file has been imported and heavily edited (regions, timing, automation, etc.), replacing it is tedious and risky. The current workaround requires manually splitting stereo files, converting formats, overwriting originals, deleting peak files, and hoping the session survives — a process prone to errors.

Krio

2025-11-13 22:00

reporter   ~0029522

Proposed Solution (GUI):
- Right-click a source in the Sources list > “Replace source file.”
- Select a replacement file via a file browser.
- Ardour validates compatibility (sample rate, bit depth, channels, length) and alerts the user if there is a mismatch.
- Internally, Ardour handles stereo splitting, conversion to 32-bit float mono, storing in interchange/audiofiles, and regenerating peaks automatically.

Benefit: Allows users to safely swap audio without losing edits, saving hours of work, reducing errors, and making large sessions much more manageable.

Krio

2025-11-13 22:03

reporter   ~0029523

Current workaround (tedious and risky):
1) Stop Ardour.
2) Backup the entire session folder.
3) Ensure the replacement WAV matches the original filename.
4 For stereo files, split into separate 32-bit float mono files:
  ffmpeg -i myfile.wav -map_channel 0.0.0 -ac 1 -c:a pcm_f32le "myfile%L.wav" \
                     -map_channel 0.0.1 -ac 1 -c:a pcm_f32le "myfile%R.wav"
5) Overwrite the original files in interchange/audiofiles.
6) Remove all peak files to force Ardour to regenerate them:
    rm peaks/*.peak
7) Restart Ardour and hope the session loads correctly.

Issue History

Date Modified Username Field Change
2024-08-14 20:32 ideologyheadcount New Issue
2024-08-14 20:32 ideologyheadcount Tag Attached: media
2024-08-14 20:32 ideologyheadcount Tag Attached: replace
2024-08-14 20:32 ideologyheadcount Tag Attached: samples
2024-08-15 02:17 pyrotek45 Note Added: 0028930
2025-11-13 21:59 Krio Note Added: 0029521
2025-11-13 22:00 Krio Note Added: 0029522
2025-11-13 22:03 Krio Note Added: 0029523