Assuming I only want one channel in the output file, is

sox in.wav out.wav -c 1

equivalent to

sox in.wav out.wav remix 1-n, n being the number of input channels


The sox manpage says:

channels CHANNELS

Invoke a simple algorithm to change the number of channels in the audio signal to the given number CHANNELS: mixing if decreasing the number of channels or duplicating if increasing the number of channels.

The channels effect is invoked automatically if SoX's -c option specifies a number of channels that is different to that of the input file(s).

So it's not equivalent (channels instead of remix), but the result is the same.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.