Find relative time displacement of two recordings of the same music

LTS Haskell 22.12:
Stackage Nightly 2024-03-01:
Latest on Hackage:

See all snapshots align-audio appears in

BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:align-audio-,2205

Module documentation for

There are no documented modules for this package.

Say, you have a video with some background music and a clean recording of the background music. You want to know exact displacement of the background music. This program should find it.

align-audio orig.wav video.wav

The program actually performs a simple correlation.

The program can handle sources of different sample rates if the sample rates are integers.