[LAU] Mixing audio files via command line

Hank Stanglow stanglow at yandex.com
Mon Apr 27 23:04:44 CEST 2020


On 4/27/20 1:50 PM, Josh Lawrence wrote:
> Hello!
>
> I have a bunch of drum samples that I need to mix down.  For example, I have a folder called SNARE.  Inside are 5 audio files of a single hit recorded from all 5 mics on the drum set.  In audacity I would load them all in, select Tracks > Mix > Mix and Render to bring them all to a single mono audio file.
>
> So far so good, except I have a BUNCH of folders to do.  Is there a command line tool that can do this?  I'd like to script this process if possible.  I've run across SoX in my googling, but I wanted to check with you all to see what tools you might recommend.
Why not use Audacity's batch processing tool?
https://ttmanual.audacityteam.org/o/man/batch_processing.html

Audacity also supports scripting:
https://manual.audacityteam.org/man/scripting.html


More information about the Linux-audio-user mailing list