Skip to main content
Topic: Library for AccurateRip Checksums and IDs (Read 228 times) previous topic - next topic
hintlou and 2 Guests are viewing this topic.

Library for AccurateRip Checksums and IDs

Hi to all,

to whom it may be relevant I would like to mention that I prereleased a small function library
targeting some offline tasks with AccurateRip checksums and IDs on local CD rips.

Currently it is Linux-only, there is no Mac or Windows version yet.

The usecases are to recalculate AccurateRip checksums
  • on already ripped image files at any time
  • also (potentially) on losslessly encoded non-WAV files
  • on Linux (unfortunately *not* on Mac or Windows *yet*)
  • while being reasonably fast (depends heavily on the audio codec used)
  • regardless whether you have a single album file or one file per track
  • verify the local checksums against an AccurateRip response
and to provide this function set for the use in client applications.

Further usecases are:
  • calculate the AccurateRip request URL of an album
  • parse AccurateRip's binary response to plaintext

There is no online functionality and there will not be any. Committing checksums
 to AccurateRip is not planned and will not be provided.

It started as a hobby project for mere personal use but meanwhile it has
matured to a certain level therefore I consider sharing it an option. It's still alpha,
though, and not tested well enough. The release is a mere development release.
So, expect bugs and warts. It is probably wise to not (yet) rely on it's correctness.

If you like to use it in your own project, it comes with full documentation that
you can generate locally. Consult the Build-HowTo for the details.

There are also commented code examples illustrating the above mentioned use

So, in case this sounds reasonable so far, find the project here.

If you are an ArchLinux user, you may get it directly from AUR.

Feedback is of course appreciated but my response time may vary. :-)

Have fun!

Re: Library for AccurateRip Checksums and IDs

Reply #1
So, answering my own post, I would like to add that the project meanwhile has
evolved a bit. (I will not report about project progress on this site regularly,
but I think I could add this update.)

I released an alpha version of libarcsdec which provides some audio decoder
adapters. Thus, there is now a (hopefully) quite convenient way to use some of
the audio decoders that are available on linux (namely libflac, libwavpack and
ffmpeg) to generate the acutal samples for libarcstk.

I also threw together an example toolkit that demonstrates the genuine functions
as command line tools. (Maybe using them is easier and more fun than fiddling
around with a bare lib.)

Apart from this I fixed a lot of bugs, mostly cmake-related.

If you like, you may find all three units here.

Or, in case you are an Arch Linux user, you may prefer AUR to get the git versions of
libarcstk, libarcsdec, and arcs-tools.

During some years there was considerable interest in tools like
and the famous Maybe users of these tools would also like to try out
arcs-tools, since it addresses local recomputation of AccurateRip checksums on
lossless audio files. The calculation as well as the verification tool can read quite a
lot of (lossless) audio formats if compiled with ffmpeg support.

To illustrate what can be done with arcs-tools, I attached two screenshots of
calculating and verifying the AccurateRip checksums of a local album file.

Have fun!

SimplePortal 1.0.0 RC1 © 2008-2019