View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009775 | ardour | features | public | 2024-08-14 20:32 | 2026-02-23 10:56 |
| Reporter | ideologyheadcount | Assigned To | |||
| Priority | low | Severity | feature | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Product Version | 8.6 | ||||
| Summary | 0009775: Feature Request: Replace/swap audio media | ||||
| Description | Although 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. | ||||
| Tags | media, replace, samples | ||||
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
@Krio Please forgive me if I've already alerted you to this prior (-it’s hard to keep track of who I keep mentioning this to -__-), but you can easily and reliably swap audio sources (-mono or stereo audio files-) using the Lua script AudioClipboard: https://github.com/GhostsonAcid/AudioClipboard/ I even made a specific picture showing the steps for doing this: https://github.com/GhostsonAcid/AudioClipboard/blob/main/Images/AudioClipboard_Manual_File_Selection.jpg … And because this seems to keep coming up, here's a video (3:45) I just recorded to explain a bit about Manual File Selection, and to give you a demo: https://odysee.com/@icterine:a/AudioClipboard---Manually-Select-Files-To-Use---Demo-1:0 Yes, of course I’m in agreement with you that it would certainly be better/great if this ability was *built-in* to Ardour. But unfortunately it's not, so the next best thing is a custom Lua script! : ) Cheers! J |
| 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 | |
| 2026-02-23 10:56 | GhostsonAcid | Note Added: 0029982 |