Creating stereo file from two mono files with sox
Posted
by
haimg
on Super User
See other posts from Super User
or by haimg
Published on 2011-10-20T14:53:48Z
Indexed on
2011/12/01
10:04 UTC
Read the original article
Hit count: 353
I'm using sox 14.2.0 on Centos 6.0.
I have two mono wav files, left.wav
and right.wav
. I need to combine them into one stereo.ogg
file, with left.wav
pan 80% to the left, and right.wav
pan 80% to the right.
I was unable to come up with the sox options needed for this. How do I do this?
This is going to be executed repeatably for many files, so I'd prefer an efficient solution. From what I understand there should be a way to do it in one pass (one invocation of sox).
© Super User or respective owner