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.5.0 (2020-04-15)
- chromaprint-1.5.0.tar.gz (615.2 kB)
- chromaprint-fpcalc-1.5.0-linux-i686.tar.gz (2.1 MB)
- chromaprint-fpcalc-1.5.0-linux-x86_64.tar.gz (2.7 MB)
- chromaprint-fpcalc-1.5.0-macos-x86_64.tar.gz (1.2 MB)
- chromaprint-fpcalc-1.5.0-windows-i686.zip (1.5 MB)
- chromaprint-fpcalc-1.5.0-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.