A simple tool for finding the offset of an audio file within another file.
Uses cross-correlation of standardised Mel-Frequency Cepstral Coefficients, so should be relatively robust to noise (encoding, compression, etc).
It uses ffmpeg for transcoding, so should work on all file formats supported by ffmpeg.
$ pip install audio-offset-finder
$ audio-offset-finder --help
$ audio-offset-finder --find-offset-of file1.wav --within file2.wav
Offset: 300 (seconds)
$ nosetests
See 'COPYING' and 'AUTHORS' files.
The audio file used in the tests was downloaded from Wikimedia Commons, and was originally extracted from the 9 July 2008 episode of the BBC Today programme.