FNail
1
I split audio by silence.
Now I want to set label to every fragment(clip) splitted audio.
After it, I want to save every fragment to wav file.
My question:
How can I organize next loop?
CursTrackStart,
SetPlayRegionIn,
SetPlayRegionOut,
TogglePlayRegion,
SelNextClip,
AddLabel.
I get right only first clip.
Please, tell me right sequence commands.
steve
2
Macros don’t do looping or branching. Macros are just a list of commands that run from the start of the list to the end of the list.
For more complex programming (including looping, branching and conditionals) you need to use a programming language such as Nyquist (built into Audacity) or and external language such as Python.
See: https://manual.audacityteam.org/man/nyquist.html
and: https://manual.audacityteam.org/man/scripting.html
The easiest way is:
- Double click on the first clip
- “Ctrl +B” then “Enter” (labels the first clip)
- “Alt + .” (select the next clip)
- Repeat from step 2
Then use “Export Multiple” based on labels. See: https://manual.audacityteam.org/man/export_multiple.html