Can I load wav/mp3 to few channels and save this to a new file - wav/mp3 ?

Hi
I'm looking for a way to load sounds to separate channels and than save the new composition to a new file.
I want to create a command line utility for this.
Thanks
Yalon