The VG Resource
Mass editing WAV files? - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Sounds Resource (https://www.vg-resource.com/forum-112.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-116.html)
+---- Thread: Mass editing WAV files? (/thread-36920.html)



Mass editing WAV files? - the shirt ninja - 04-02-2020

I have about 600 WAV files that I need to convert from stereo to mono in order to get them accepted to the site. Now, I'd like to change/edit and then overwrite all these files at once instead of doing each file individually, or at least do it in batches of like, 50 or 25 files. Audacity lets me do the change to mono on all tracks at once, but it seems I still have to re-export each one of them individually, with no option to just overwrite the source file. Is there anything I can do or any software that allows me to speed up this process?

If you can help me with this please make your answer idiot proof since I'm still pretty new to working with audio software, and also an idiot. I can show you my certificate if you want. Anyway, help would be much appreciated.


RE: Mass editing WAV files? - Simpsons Dumper - 04-03-2020

I'd use ffmpeg. If the source files are mono, presumably you just want one of the channels, rather than mixing them together (which might modify the sound data, e.g. volume differences).

For Windows, figure out the same thing based on the example at https://stackoverflow.com/a/24273691.

For Linux, do something like this (untested):
Code:
for i in *.wav; do ffmpeg -i "$i" -map_channel 0.0.0 mono-"$i"; done



RE: Mass editing WAV files? - the shirt ninja - 04-05-2020

Thank you for your reply, but I found that the easiest way was using Audacity Macros. Create a Macro that has the steps "Mix from stereo to mono" followed by "export file" and Audacity will automatically do it for every file you select. It also won't overwrite them but create a new folder in the same directory as the original files. The new files will have the original file's names, as well. Worked like a charm.