Automate conversion of audio file from stereo to mono

Does anyone know of any utilities that could automate the conversion of a stereo audio file to mono? Preferably, something that watches a folder and just runs on new audio files saved to that folder.

You can do it with Python.

from pydub import AudioSegment
sound = AudioSegment.from_wav("stereo.wav")
sound = sound.set_channels(1)
sound.export("mono.wav", format="wav")

That will convert stereo to mono. You can probably use it as a script in for example Hazel.

1 Like

Alternative option could be ffmpeg.

3 Likes

Ended up going with this FFMPEG option, as you have to install that anyway to get the Python solution to work. Created a little automator workflow with it. Thanks!

1 Like