Posted: . At: 8:29 AM. This was 5 years ago. Post ID: 13161
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.



Sponsored



Merge left and right audio tracks into a stereo file with sox on Linux.


I have a few audio files that are split into left and right audio tracks. I needed to merge them into stereo files, and I have found out how to do this.

The sox sound utility for Linux can perform this task admirably. Here I have a music file and I am merging the left and right tracks into one audio file very easily.

4.4 Fri Apr 26 jason@Yog-Sothoth 0: $ sox -M lost_village_day_l.ogg lost_village_day_r.ogg lost-village.ogg

This is a very simple task.

Another way is to use Audacity and mix the two tracks together.

Mixing 2 left and right audio tracks with Audacity on Linux.
Mixing 2 left and right audio tracks with Audacity on Linux.

In the above example, I have moved the stereo slider left for the left track, and right for the right track.

Then, go to File -> Export and export as an ogg file, or whichever format you want.

This is also a nice way to do it, if you do not want to use the command line.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.