• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Batch Resample in MacOS

Ron Texas

Master Contributor
Forum Donor
Joined
Jun 10, 2018
Messages
6,254
Likes
9,394
I would like to take a bunch of Flac tracks which were encoded at 192kbps and resample them down to 96kbps. In Windows this is a snap with Footer2000's convert facilities. It's easy to convert Flac to wav and back to Flac in MacOS 14, but I can't seem to find a way to batch resample the wav files. It needs to be free software because otherwise I might as well do this on one of the Windows boxes I have around the house.
 

DJNX

Active Member
Joined
Sep 15, 2022
Messages
108
Likes
129
for i in *.flac; do afconvert -f WAVE -d LEI24@96000 -r 127 "${i}"; done

From Terminal.

Edit:
Maybe you can do it directly to FLAC.

for i in *.flac; do afconvert -f flac -d flac@96000 -r 127 "${i}"; done
 
Last edited:
Top Bottom