CDDB, short for Compact Disc Database, is a
database
In computing, a database is an organized collection of data stored and accessed electronically. Small databases can be stored on a file system, while large databases are hosted on computer clusters or cloud storage. The design of databases sp ...
for
software applications to look up audio CD (
compact disc
The compact disc (CD) is a Digital media, digital optical disc data storage format that was co-developed by Philips and Sony to store and play digital audio recordings. In August 1982, the first compact disc was manufactured. It was then rele ...
) information over the
Internet
The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a '' network of networks'' that consists of private, pub ...
. This is performed by a client which calculates a (nearly) unique disc
ID and then queries the database. As a result, the client is able to display the artist name, CD title, track list and some additional information. CDDB is a licensed trademark of
Gracenote
Gracenote, Inc. is a company owned by Nielsen Holdings that provides music, video and sports metadata and automatic content recognition (ACR) technologies to entertainment services and companies, worldwide. Formerly CDDB ("Compact Disc Data Base ...
, Inc.
The database is used primarily by
media players and
CD ripper
A CD ripper, CD grabber, or CD extractor is software that ripping, rips raw digital audio in Compact Disc Digital Audio (CD-DA) format tracks on a compact disc to standard computer sound files, such as WAV or MP3.
A more formal term used for t ...
software. If a CD is not recognized by a
media player or
CD ripper
A CD ripper, CD grabber, or CD extractor is software that ripping, rips raw digital audio in Compact Disc Digital Audio (CD-DA) format tracks on a compact disc to standard computer sound files, such as WAV or MP3.
A more formal term used for t ...
it can be added to the database if the user fills in the names and artists etc. in a media player such as
iTunes
iTunes () is a software program that acts as a media player, media library, mobile device management utility, and the client app for the iTunes Store. Developed by Apple Inc., it is used to purchase, play, download, and organize digital mul ...
or
MusicMatch Jukebox
MusicMatch Jukebox was an audio player made by San Diego-based MusicMatch, Inc. It contained features commonly found in jukebox software such as the ability to manage digital audio files and playlists, audio file conversion, an online music s ...
.
The need for CDDB is a direct consequence of the original design of the CD, which was conceived as an evolution of the
gramophone record
A phonograph record (also known as a gramophone record, especially in British English), or simply a record, is an analog sound storage medium in the form of a flat disc with an inscribed, modulated spiral groove. The groove usually starts nea ...
, and did not consider the audio tracks as data files to be identified and indexed. The audio CD format does not include the disc name or track names, so a supplemental database is needed to supply this information when discs are used with modern media systems. A later development called
CD-Text
CD-Text is an extension of the Red Book Compact Disc specifications standard for audio CDs. It allows storage of additional information (e.g. album name, song name, and artist name) on a standards-compliant audio CD.
The specification for CD- ...
is another solution to the same problem.
History
CDDB was invented by
Ti Kan around late 1993 as a local database that was delivered with his popular
xmcd music player application. The application's change history first mentions the acronym CDDB in version 1.1 released on February 25, 1994. Users would submit new entries to the database via
e-mail
Electronic mail (email or e-mail) is a method of exchanging messages ("mail") between people using electronic devices. Email was thus conceived as the electronic ( digital) version of, or counterpart to, mail, at a time when "mail" meant ...
to Kan.
The database quickly became unwieldy and Kan enlisted the help of Steve Scherf to create a network accessible version of the database operating as CDDB Inc.
in 1995. Graham Toal supplied hosting for the CDDB server and created a banner advertising revenue model to pay for the hosting. The original software behind CDDB was released under the
GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the Four Freedoms (Free software), four freedoms to run, study, share, and modify the software. The license was th ...
, and many people submitted CD information thinking the service would also remain free.
The project was eventually incorporated as CDDB LLC in 1998 and was soon sold by Kan, Scherf, and Toal to a high tech consumer electronics manufacturer called
Escient
Escient was a division of D&M Holdings, which manufactured high-end, centralized, internet-connected home AV equipment. The Escient trademark was registered with the (now defunct) Digital Networks North America.
Escient's main product lines wer ...
. In a 2006 interview in ''
Wired
''Wired'' (stylized as ''WIRED'') is a monthly American magazine, published in print and online editions, that focuses on how emerging technologies affect culture, the economy, and politics. Owned by Condé Nast, it is headquartered in San Fra ...
'', Scherf claimed that Escient was the only company that would guarantee the continued development of the service by its founders, as well as protect the operation in an atmosphere where numerous companies were bidding—and in one case, attempting extortion—to acquire and immediately sell the CDDB to major players like
Microsoft
Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
, which wanted a CD-recognition service but wouldn't deal directly with CDDB Inc.
In 2000, CDDB Inc. was renamed Gracenote. Early announcements asserted that access to the CDDB service would "remain 100% free to software developers and consumers." The license was nonetheless changed, and some programmers complained that the new license included certain terms that they couldn't accept. If one wanted to access CDDB, one was not allowed to access any other CDDB-like database such as
freedb
Freedb was a database of compact disc track listings, where all the content was under the GNU General Public License. To look up CD information over the Internet, a client program calculated a hash function from the CD table of contents and used ...
. Any programs using a CDDB lookup had to display a CDDB logo while performing the lookup.
In March 2001, CDDB, now going by
Gracenote
Gracenote, Inc. is a company owned by Nielsen Holdings that provides music, video and sports metadata and automatic content recognition (ACR) technologies to entertainment services and companies, worldwide. Formerly CDDB ("Compact Disc Data Base ...
, banned all unlicensed applications from accessing their database. New licenses for CDDB1 (the original version of CDDB) were no longer available, since Gracenote wanted to force programmers to switch to CDDB2, a new version incompatible with CDDB1 and hence with freedb.
The license change motivated many forks in the CDDB project tree, including the freedb project, which is intended to remain
free software
Free software or libre software is computer software distributed under terms that allow users to run the software for any purpose as well as to study, change, and distribute it and any adapted versions. Free software is a matter of liberty, no ...
.
In June 2008,
Sony Corp. of America completed acquisition (full ownership) of Gracenote, per the news note on the Gracenote website. Then in 2014
Tribune Media Services (TMS) acquired Gracenote from Sony, only to resell it to
Nielsen in December 2016.
How CDDB works
CDDB was designed around the task of identifying entire CDs, not merely single tracks. The identification process involves creating a "discid", a sort of "
fingerprint
A fingerprint is an impression left by the friction ridges of a human finger. The recovery of partial fingerprints from a crime scene is an important method of forensic science. Moisture and grease on a finger result in fingerprints on surfac ...
" of a CD created by performing calculations on the track duration information stored in the table-of-contents of the CD (see the following section for an example calculation). This discid is used with the Internet database, typically either to download track names for the whole CD or to submit track names for a newly identified CD.
This information is often provided by
end users
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ultimately use a product. The end user stands in contrast to users who support or maintain the product, such as sysops, system administrato ...
. In
iTunes
iTunes () is a software program that acts as a media player, media library, mobile device management utility, and the client app for the iTunes Store. Developed by Apple Inc., it is used to purchase, play, download, and organize digital mul ...
, which uses Gracenote, users name the CD tracks and then use the "Submit Track Names" option under the "Advanced" heading in the toolbar to submit track information.
Since identification of CDs is based on the length and order of the tracks, CDDB cannot identify playlists in which the order of tracks has been changed, or compilations of tracks from different CDs. CDDB also cannot distinguish between different CDs that have the same number of tracks and the same track lengths.
Example calculation of a CDDB1 (FreeDB) disc ID
CDDB1 identifies CDs with a 32-bit number, usually displayed as a hexadecimal number containing 8 digits: XXYYYYZZ. The first two digits (labeled XX) represent a checksum based on the starting times of each track on the CD, mod 255. The next four digits (YYYY) represent the total time of the CD in seconds from the start of the first track to the end of the last track. The last two digits (ZZ) represent the number of tracks on the CD.
For example, suppose a CD contains a single track of duration 3610 seconds.
First the XX checksum is calculated by summing the track starting times mod 255. Since CDs have a 2-second offset from the start of disc data, XX becomes "02".
Second, the total CD play duration of 3610 seconds in hexadecimal is 0e1a, so YYYY becomes "0e1a".
Finally, there is one track on this CD so ZZ becomes "01".
The full disc ID of the example CD is "020e1a01". Any CD which contains one track with a duration of 3610 seconds starting 2 seconds from the beginning of the CD will have this disc ID. To distinguish between different CDs which happen to have the same disc ID, the CDDB1 database is organized into multiple categories. If there is a conflict with different CD releases possessing the same CDDB1 ID, they can be placed in a different category (such as classical, rock, blues, folk or misc).
Sample code for calculating CDDB1 disc IDs in various programming languages is available on the
web, such as in
Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's List ...
.
Classical music
At its origin, CDDB was oriented towards pop/rock music with the typical artist/album/song structure. Their database often lacks adequate information on
classical music
Classical music generally refers to the art music of the Western world, considered to be distinct from Western folk music or popular music traditions. It is sometimes distinguished as Western classical music, as the term "classical music" also ...
CDs, mostly due to its structure, which originally lacked a standard way of storing composers' names. In 2007, Gracenote announced an enhanced format, the Classical Music Initiative (CMI), which places all the additional information in the three-field structure. A classical track title would now contain the composer, for instance "
Vivaldi
Antonio Lucio Vivaldi (4 March 1678 – 28 July 1741) was an Italian composer, virtuoso violinist and impresario of Baroque music. Regarded as one of the greatest Baroque composers, Vivaldi's influence during his lifetime was widespread a ...
:
The Four Seasons, Op. 8/1, 'Spring' — 1. Allegro". The artist field would contain all information about the ensemble, conductor and perhaps
soloist, for instance "
Joseph Silverstein
Joseph Harry Silverstein (March 21, 1932 – November 21, 2015) was an American violinist and conductor.
Known to family, friends and colleagues as "Joey", Silverstein was born in Detroit. As a youth, Silverstein studied with his father, Bernard ...
,
Seiji Ozawa
Seiji (written: , , , , , , , , , , , , , , , , , , , , , or in hiragana) is a masculine Japanese given name. Notable people with the name include:
*, Japanese ski jumper
*, Japanese racing driver
*, Japanese politician
*, Japanese film directo ...
,
Boston Symphony Orchestra
The Boston Symphony Orchestra (BSO) is an American orchestra based in Boston, Massachusetts. It is the second-oldest of the five major American symphony orchestras commonly referred to as the " Big Five". Founded by Henry Lee Higginson in 1881, ...
". In 2007, about 10,000 classical CDs had been converted to this new convention.
See also
*
List of online music databases
Below is a table of online music databases that are largely free of charge. Note that many of the sites provide a specialized service or focus on a particular music genre. Some of these operate as an online music store or purchase referral serv ...
References
External links
GracenoteList of Gracenote licensed applications
{{DEFAULTSORT:Cddb
Online music and lyrics databases