Summary
| Purpose | The xcorrSound package compares sound waves using cross correlation. |
| Homepage |
None |
| Source Code Repository |
https://github.com/openplanets/scape-xcorrsound |
| License |
GPL-2.0 |
| Debian Package | None |
Description
The xcorrSound tool compares sound waves using cross correlation and finds the best overlap. The package contains several tools.
- xcorrSound is a tool to find the overlap between two audio files. It outputs best sample number and second and value of match.
- soundMatch is a tool to find all occurrences of a shorter wav within a larger wav
- migrationQA is a tool that splits two audio files into equal sized blocks (default 5 seconds) and outputs the correlation for each block (a_i,b_i), if a and b was the input.
The tools all make use of cross correlation, which can be computed through the Fourier transform.
User Experiences
This tool was developed and used at The Danish State and University Library.
Overlap Scenario
The State and University Library in Denmark possesses a large amount of digital audio files which are radio broadcasts from DR (Danmarks (Danish) Radio). All radio broadcasts from DR in the period 1989 to 2005 have been digitised. The broadcasts were recorded on 2 hour tapes. In order not to loose any data, one tape was put in one recorder and a few minutes before it reached the end, another recorder was started with another tape. This yields two tapes with some overlap. All these tapes have now been digitized and the digitized dataset is 20Tbytes of audio files in 2 hour chunks with unknown overlaps; the library wishes to remove this overlap. The xcorrSound tool finds the overlap.
Migration QA Scenario
The migrationQA tool is used in SCAPE Solution SO4 Audio mp3 to wav Migration and QA Workflow
.
SoundMatch Scenario
TBD