Is there a way to export separate clips in a track to separate files (with the filename set to the track name and the start time of the clip) all at once?
(this is for an interview application with several people at once. Each person’s name would be the track name, and an operation to set silence “level” and then automatically split each track into clips at silence points.)
Is there a way this could be set up in a macro?
Is there a way to connect Audacity to a database so the clips could be stored as blob records in a database? (with fields of project name, track name, clip name and start time?
Does anyone know of a developer who could write the code to do these functions?
Note that if you use “region labels”, Export Multiple can export each labelled region as a separate file, and not export any audio that is not labelled.
See here for more information about label tracks: Label Tracks - Audacity Manual
Audacity does not have built-in database connectivity.
People frequently underestimate the cost of software development. I wouldn’t be surprised if the cost of what you are proposing was several thousand dollars.
I was looking for a similar solution so I went ahead and coded up a python script to export all the clips in a project. Does it by clip name instead of trackname.
I haven’t figured out how to automate this yet, but I downloaded some audio files that were compilations of sound effects I wanted to split up into individual wav files to load into a video editor. The solution that worked for me was to go into Edit → Preferences, and then click on “Shortcuts” in the left pane. then, scroll down to “Export → Export Selected Audio…” I was then able to set it to the shortcut “Ctrl+Alt+End” (because it’s what I do at the end).
From there, I then went through and used “ctrl+i” to split the sound effects, trimmed them using Audacity’s trimming tools, and did whatever other processing I needed, labeled them so I could see what each one was, and then went and clicked on the top bar of the first clip, pressed “ctrl+alt+end” and named the file what I wanted, made sure “export selection” was selected, made sure the save location was the sound effects folder, told it to trim extraneous silence, and then clicked “save”.
Audacity keeps the same settings and every time you pull up the export dialog with that shortcut, it’s set to save the selection and keeps the last option selections as defaults, but with the name “unknown.wav” and I just changed the name for the next clip, and hit save. And just did that one clip at a time until I’d done that for the whole project. It’s a bit tedious but nowhere near as tedious as copying the clip into a new track, and then exporting the track, or copying the clip into another empty open editor and exporting the project from there as an audio file.
Still, it would be nice if Audacity came with a way to automatically export all the clips with the filename being the clip label and if necessary a number after it if they’re labeled the same.