I need to align multiple audio files with different overlapping regions. Is there a python/command line library that does so?

  • can you use something else than python? because you can make pretty nice scripts using ffmpeg ?
    – JSmith
    Commented Jul 13, 2016 at 20:30
  • yes i can @jonhatan smith
    – MAS
    Commented Jul 14, 2016 at 4:49

1 Answer 1


You're not gonna like this. The only for-sure way of lining up audio files is to have them All the same length to begin with, including the silences. So when you record them, make sure you start from zero with each file, even if it only has one bleep five minutes in! Lining up varying length soundfles is a nightmare otherwise.

Yours respectfully


  • I'm not sure that's what he was asking [not sure what the question really is]... but it's sound advice for stems in any case ;)
    – Tetsujin
    Commented Jul 13, 2016 at 18:11
  • there are work that uses time-frequency constellation analysis to determine overlap between recordings. I need to align them to use multi channel signal enhancement using beamforming. @ulrichburke
    – MAS
    Commented Jul 14, 2016 at 4:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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