The chromaprint / fpcalc binary built within termux, on an AArch64 phone.
It is pretty easy: just extract the tar.gz archive, but make a folder first to unpack.
Assuming that you're in the home folder, make a new directory using mkdir yourfoldername
, then for extraction you can use: tar -xf chromaprint-fpcalc-aarch64.tar.gz -C ./yourfoldername
.
The extracted folder matches the layout of the Termux prefix for ease of use.
To make everything easy, it is recommended to use mc
(Midnight Commander) to copy over the files, just remember to not go
back from the com.termux/files
folder (which has /home
and /usr
in it).
After copying the files to their own directories, you can try launching fpcalc by simply typing ./fpcalc <audio.ext>
in which audio.ext
is the audio file you'd want to generate the fingerprint.
when the tool is finished, you will get two values: DURATION
, this is the length of the audio file in seconds, and FINGERPRINT
, which is the AcoustID fingerprint data itself.
You can use the AcoustID lookup service to query information on the fingerprint data. Refer to the AcoustID documentation on how to format and submit your request.