# MusicBrainz

MusicBrainz is a MetaBrainz project that aims to create a collaborative music database that is similar to the freedb project. MusicBrainz was founded in response to the restrictions placed on the Compact Disc Database (CDDB), a database for software applications to look up audio CD information on the Internet. MusicBrainz has expanded its goals to reach beyond a CD metadata (information about the performers, artists, songwriters, etc.) storehouse to become a structured online database for music.
MusicBrainz captures information about artists, their recorded works, and the relationships between them. Recorded works entries capture the album title, track titles, and the length of each track at a minimum. These entries are maintained by volunteer editors who follow community written style guidelines. Recorded works can also store information about release date and country, the CD ID, cover art, acoustic fingerprint, free-form annotation text and other metadata. As of November 2024, MusicBrainz contains information on over 2.4 million artists, 4.4 million releases, and 33.6 million recordings. End-users can use software that communicates with MusicBrainz to add metadata tags to their digital media files, such as ALAC, FLAC, MP3, Ogg Vorbis or AAC.

## Image archives
### Cover Art Archive

MusicBrainz allows contributors to upload cover art images of releases to the database; these images are hosted by Cover Art Archive (CAA), a joint project between Internet Archive and MusicBrainz started in 2012. Internet Archive provides the bandwidth, storage and legal protection for hosting the images, while MusicBrainz stores metadata and provides public access through the Web and via an API for third parties to use. As with other contributions, the MusicBrainz community is in charge of maintaining and reviewing the data. Until May 16, 2022, cover art was also provided for items on sale at Amazon.com and some other online resources, but CAA is now preferred, because it gives the community more control and flexibility for managing the images. In As of November 2024, over 5.5 million images are stored in the archive.

### Event Art Archive

In June 2024, MusicBrainz launched the Event Art Archive, another joint venture with the Internet Archive. The project is labeled as "the internet's greatest repository for event art", and as of November 2024, contains over 4,000 images.

## Fingerprinting

In addition to collecting metadata about music, MusicBrainz also allows users to match recordings by their acoustic fingerprint. A separate application, such as MusicBrainz Picard, is used to do this.

### Proprietary services

In 2000, MusicBrainz started using Relatable's patented TRM (a recursive acronym for TRM Recognizes Music) for acoustic fingerprint matching. The popularity of this feature drew in a large user base into the platform, enabling the database to expand rapidly. By 2005, TRM was experiencing difficulties in handling the sheer volume of data, as the number of tracks stored in the database had surpassed one million. This issue was resolved in May 2006 when MusicBrainz partnered with MusicIP (now AmpliFIND), replacing TRM with MusicDNS. TRMs were phased out and replaced by MusicDNS in November 2008.
In October 2009 MusicIP was acquired by AmpliFIND.

### AcoustID and Chromaprint

Since the future of the free identification service was uncertain, a replacement for it was sought. The Chromaprint acoustic fingerprinting algorithm, the basis for AcoustID identification service, was started in February 2010 by a long-time MusicBrainz contributor Lukáš Lalinský. While AcoustID and Chromaprint are not officially MusicBrainz projects, they are closely tied with each other and both are open source. Chromaprint works by analyzing the first two minutes of a track, detecting the strength for each of 12 pitch classes, storing these eight times per second. Additional post-processing is then applied to compress the fingerprint while retaining patterns. The AcoustID search server then searches from the database of fingerprints by similarity and returns the AcoustID identifier along with MusicBrainz recording identifiers, if known.

## Licensing

Since 2003, MusicBrainz's core data (artists, recordings, releases, and so on) are in the public domain, and additional content, including moderation data (essentially every original content contributed by users and its elaborations), is placed under the Creative Commons CC BY-NC-SA-2.0 license. The relational database management system is PostgreSQL. The server software is covered by the GNU General Public License. The MusicBrainz client software library, libmusicbrainz, is licensed under the GNU Lesser General Public License, which allows use of the code by proprietary software products.
In December 2004, the MusicBrainz project was turned over to the MetaBrainz Foundation, a non-profit group, by its creator Robert Kaye. On 20 January 2006, the first commercial venture to use MusicBrainz data was the Barcelona, Spain-based Linkara in their "Linkara Música" service.
On 28 June 2007, BBC announced that it had licensed MusicBrainz's live data feed to augment their music web pages. The BBC online music editors would also join the MusicBrainz community to contribute their knowledge to the database.
On 28 July 2008, the beta of the new BBC Music site was launched, which publishes a page for each MusicBrainz artist.

## MusicBrainz Picard

MusicBrainz Picard is a free and open-source software application for identifying, tagging, and organising digital audio recordings.
Picard identifies audio files and compact discs by comparing either their metadata or their acoustic fingerprints with records in the database. Audio file metadata (or "tags") are a means of storing information about a recording in the file. When Picard identifies an audio file, it can add new information to it, such as the recording artist, the album title, the record label, and the date of release.

## ListenBrainz

ListenBrainz is a free and open source project that aims to crowdsource listening data related to digital music and release it under an open license. It is a MetaBrainz Foundation project tied to MusicBrainz. It aims to re-implement Last.fm features that were lost following that platform's acquisition by CBS.
ListenBrainz takes submissions from various media players and services such as Music Player Daemon, Spotify, and Rhythmbox in the form of listens. ListenBrainz can also import Last.fm and Libre.fm scrobbles in order to build listening history. As listens are released under an open license, ListenBrainz is useful for music research in industry and development research.