Resample FLAC files to 16-bit, 44.1kHz (sox)
for f in *.flac; do sox -S "${f}" -r 44100 -b 16 "${f%.*}"_16bit_44100.flac; done
Resamples all FLAC files in the current directory to 16-bit depth and 44.1kHz sample rate.
for f in *.flac; do sox -S "${f}" -r 44100 -b 16 "${f%.*}"_16bit_44100.flac; done
Resamples all FLAC files in the current directory to 16-bit depth and 44.1kHz sample rate.