I have N MP3 files (N files for example). I need to superimpose, or mix them into one. Is there a special LAME function for performing such an operation?

migrated from stackoverflow.com Mar 29 '10 at 3:16

This question came from our site for professional and enthusiast programmers.

  • Is this programming related? – dtb Mar 28 '10 at 23:50
  • @dtb - yea. LAME is a library. – Daniel A. White Mar 28 '10 at 23:52
  • Do you want to reencode them or to splice the channels mono -> stereo? – Potatoswatter Mar 29 '10 at 1:02
  • "How do I do $FOO using tool N" is presupposing part of your answer if what you really want to know is "How do I do $FOO"; sometimes, tool N isn't the right thing for the job. "How do I do $FOO on platform N", or "How do I do $FOO in a manner compatible with N" are better questions. – Charles Duffy Mar 29 '10 at 2:40

LAME is the wrong tool for mixing -- mixing isn't encoding.

Do the mixing with a tool such as sox, then encode the mixed stream with LAME.


Use Audacity to mix them, and Audacity will then use the LAME encoder to encode the mixed audio as MP3.

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.