Python bindings for Chromaprint acoustic fingerprinting and the Acoustid API. Version 1.3.1 requires Python >=3.10. Maintained by the beetbox project. Release cadence is sporadic, with last release in 2024.
pip install pyacoustidNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Fingerprint an audio file and identify it via the Acoustid API.
Upgrade Python to 3.10+ or pin pyacoustid to 1.2.x.
Install chromaprint via system package manager (e.g., apt install libchromaprint-dev, brew install chromaprint) or download from https://acoustid.org/chromaprint.
Replace calls to acoustid.fingerprint(...) with acoustid.fingerprint_file(...).
Install audioread with a backend like ffmpeg: pip install audioread[ffmpeg] or ensure ffmpeg is in PATH.
Use 'from acoustid import ...' not 'import pyacoustid'.
Install it: on Debian/Ubuntu run 'apt install libchromaprint-dev', on macOS use 'brew install chromaprint', on Windows download the DLL.
Install ffmpeg (e.g., 'apt install ffmpeg') and ensure it's in PATH. Alternatively, convert the file to WAV first.
Register at https://acoustid.org/ to get a valid API key and set the ACOUSTID_API_KEY environment variable or pass it explicitly.