Sample file Save in place

I think this is a common Use Case for Audacity:

Several DAWs and music/sound applications (Ableton Live, NI Reaktor etc) provides the possibility to set an external audio sample editor. Audacity is almost perfect for this. Here is the current workflow:
In your DAW audio app:
(- Set up Audacity as your external sample editor)

  • Select and open the sample file you want to edit
  • Audacity starts and has opened the selected sample file
  • You use Audacity to edit the sample
  • When done you want replace the original file with the edited sample. This is where it becomes a bit complicated:
    You have to export the file, navigate to where the original is stored and save the export there. This takes some time.

If however there was a “Save in place” option in the clip right-click menu that when selected replaced the the original file with the editied audio it would save so much time and frustration.

yeah, the save vs export thing is very tricky to solve overall because different kinds of users will have vastly different expectations on what “save” exactly means. Overwriting an existing file is certainly something I’m considering as an option:
(as you can see, this is very much a work-in-progress design)

Thank you for looking into this.

I was thinking of having the ‘Save in place’ menu item in the right-click menu of the clip itself (tho one that has cut, copy paste, split, mute etc) then it does’nt interfere with the regular save/export.

Here’s a macro for Audacity that I think will do what you want.
(See here for how to install a macro:

What the macro does:

  1. Selects all audio in the project
  2. Looks up the name of the most recent file in the “Recent Files” list.
  3. Exports the project using the file name determined by step 2.

Note that this macro is designed for WAV files only (which is what most DAWs use).
Caution: The file is overwritten immediately and cannot be undone.
Overwrite.txt (1.52 KB)

Thanks !
Macro works fine as such.

Unfortunately Ableton (or Windows) doesn’t let go of the file completely so Audacity cannot overwrite it, so I don’t get my buttery smooth workflow. Anyhow the major problem was solved (not needing to navigate to the file) so thanks again.

I thought that was precisely what you were asking for :confused: