maxdraco

Disc ID

A short code calculated from a CD's track layout, used to look the album up online.

Concept Data formats Hardware

A disc ID is a short code calculated from a CD’s table of contents: how many tracks it has and exactly where each one starts. Online music databases such as MusicBrainz and the older CDDB, now run by Gracenote, use it to recognise an album the moment a disc goes in, without listening to the music. Because track positions often differ slightly between pressings of the same album, the ID can point to one specific pressing rather than just the album.

See also

  • CD table of contents (TOC) The list at the start of an audio CD saying how many tracks it has and exactly where each one starts.
  • MusicBrainz A free, community-run online database of music releases, recordings and artists.
  • Hash A calculation that turns any data into a short, fixed-length value that is always the same for the same input.
  • Base64 A way to write any binary data using only 64 printable characters: A-Z, a-z, 0-9, + and /.
  • CD ripping Copying the audio from a CD onto a computer as files.
  • JSON A simple text format for structured data that people can read and almost every programming language can handle.
  • Regular expression (regex) A compact pattern language for finding text of a given shape, such as any run of digits.

Sources

  1. Disc IDMusicBrainzofficial healthy, checked 2026-11-15 archived copy
  2. Disc ID CalculationMusicBrainz healthy, checked 2026-11-15 archived copy
  3. CDDBWikipedia healthy, checked 2026-11-15 archived copy