Chromaprint is the core component of the AcoustID project. It's a client-side library that implements a custom algorithm for extracting fingerprints from any audio source. Overview of the fingerprint extraction process can be found in the blog post "How does Chromaprint work?".
Latest release — 1.4.2 (2016-12-28)
- chromaprint-1.4.2.tar.gz (613.4 kB)
- chromaprint-fpcalc-1.4.2-linux-armhf.tar.gz (1.9 MB)
- chromaprint-fpcalc-1.4.2-linux-i686.tar.gz (2.0 MB)
- chromaprint-fpcalc-1.4.2-linux-x86_64.tar.gz (2.5 MB)
- chromaprint-fpcalc-1.4.2-macos-x86_64.tar.gz (1.0 MB)
- chromaprint-fpcalc-1.4.2-windows-i686.zip (1.4 MB)
- chromaprint-fpcalc-1.4.2-windows-x86_64.zip (1.5 MB)
Most Linux distributions also have their own packages for Chromaprint.
You can find downloads for older releases on GitHub.
The library exposes a simple C API. The documentation for the C API can be found in chromaprint.h.
Note that the library only calculates audio fingerprints from the provided raw uncompressed audio data. It does not deal with audio file formats in any way. Your application needs to find a way to decode audio files (MP3, MP4, FLAC, etc.) and feed the uncompressed data to Chromaprint.
You can use pyacoustid to interact with the library from Python. It provides a direct wrapper around the library, but also higher-level functions for generating fingerprints from audio files.
You can also use the fpcalc utility programatically. It can produce JSON output, which should be easy to parse in any language. This is the recommended way to use Chromaprint if all you need is generate fingerprints for AcoustID.
$ git clone https://github.com/acoustid/chromaprint.git $ cd chromaprint $ cmake . $ make
See the README file for more details on building the library.