I want to use a macro to normalize a large group of songs and batch processes these files, But, unfortunately all of the files did normalized but their album art is removed and metadata changed in every file. How is that possible. I thought I could just batch process OUTSIDE of a project. If not it’s a pitty.
Metadata in Audacity has some “limitations” and it doesn’t support embedded artwork at all.
The original file isn’t altered (unless you over-write it) but the new file won’t have artwork and some other tags may be different. (1)
Mp3Tag can copy from one file to another and I’m pretty sure it can batch process but I’ve never done it. (It work with all popular formats, not just MP3.)
If you are loudness normalizing (rather than regular peak normalizing) and you you MP3 or WAV files you can use MP3Gain or WaveGain.
Or your player software may support Replaygain, or Sound Check on Apple Devices.
(1) This also means that if you have MP3s or other lossy format, you are going through another generation of lossy compression. MP3Gain makes the adjustment without decompressing/re-compressing.
What happens when you run a macro on a file or set of files is that for each file Audacity opens up a temporary project, imports the file, does the macro processing - and then closes the temporary project.
For the past 3 versions, I’ve had trouble with Mp3Tag taking a very long time to write tags, and sometimes just failing. I suspect it has something to do with file locking or deferred writes. In such cases, I’ve found that I can select the files, open their properties dialogue, and edit the tags directly in Windows Explorer. And it’s much faster than Mp3Tag. The only problem with doing it that way, is I know of no way to add a cover image.