Batch Convert Audio Files With SoX Quickly And Easily

Channel:
Subscribers:
428
Published on ● Video Link: https://www.youtube.com/watch?v=jULoRN2ZFRM



Duration: 0:00
49 views
0


Ever wanted to convert between audio formats quickly and easily, either a single file or batch conversion? Introducing SoX, the swiss army knife of sound utilities. This program can do literally anything (check forum pages, because I am only discussing format conversion here).

With a little commandline, you can convert whatever you want to. You can copy and paste the commandline for the batch processing, but if it doesn't work, check the video for instructions.

Installation:

sudo apt install sox libsox-fmt-mp3

--------------------------------------------------

Batch processing:

for f in *.wav; do sox "$f" "${f%.wav}.mp3"; done