FROM AGPEDIA — AGENCY THROUGH KNOWLEDGE

Lakh MIDI Dataset

The Lakh MIDI Dataset (LMD) is a collection of 176,581 unique MIDI files, 45,129 of them matched and aligned to recordings in the Million Song Dataset, assembled by Colin Raffel to support large-scale music information retrieval. It can be used symbolically, from the MIDI files alone, or with audio, using information from the MIDI files as annotations for the matched recordings.[1:1] A lakh is the Indian unit for 100,000; Raffel chose the name because, depending on how one counts, the dataset provides about 100,000 MIDI files, and as a play on the Million Song Dataset.[1:1][2:1]

Origin

The dataset was the main product of Raffel's 2016 doctoral thesis at Columbia University. He argued that MIDI files, widely available as transcriptions of songs, were underused in music information retrieval, though they could serve as training data for transcription, as priors for score-informed source separation, and for instrument activity and onset detection.[2:2] The files were scraped from publicly available sources on the internet and de-duplicated by MD5 checksum.[1:1]

Matching to recordings

Raffel matched his collection of 178,561 files against the Million Song Dataset. After setting aside 5,602 files that could not be parsed and those shorter than 30 seconds, he searched for matches for 160,603 files, which took about 7 days on 32 processors. At his chosen confidence threshold, 45,612 files had at least one match, making 118,661 pairings, many files matching several recordings through duplicates, covers and alternate versions.[2:1] A pair was accepted on the confidence score of dynamic time warping alignment, which Raffel reports to be extremely reliable; but because the alignment deliberately pays little attention to instrumentation, harmonically similar songs can be matched wrongly, as when transcriptions of house music match dozens of house remixes.[1:2]

Contents

The dataset comes in three parts: LMD-full, all 176,581 de-duplicated files; LMD-matched, the files matched to Million Song Dataset entries; and LMD-aligned, the matched files aligned to the dataset's 7digital preview clips.[1:1] No attempt was made to remove invalid files from LMD-full.[1:1]

Raffel's survey of the files found most were transcribed at a single tempo, though some use many tempo changes to follow a recording;[2:3] about 13.3% had lyrics;[2:4] and the most common General MIDI programs were acoustic grand piano, string ensemble, fingered electric bass and steel-string acoustic guitar.[2:5] No program is used consistently for vocals, so the vocal line cannot reliably be identified.[2:6]

Licence and attribution

The dataset is distributed under a CC-BY 4.0 licence. Raffel did not transcribe any of the files, and attributing each to its author is not feasible because the copyright meta-event in MIDI files is used inconsistently.[1:1]

Uses

The Slakh dataset of rendered multitrack audio was built from songs in the Lakh MIDI dataset.[3:1]

  1. ^a ^b ^c ^d ^e ^f ↗ lm-dataset ^ ↗ lm-matching Raffel, Colin. The Lakh MIDI Dataset v0.1. https://colinraffel.com/projects/lmd/.
  2. ^a ^b ↗ rt-lmd ^ ↗ rt-uses ^ ↗ rt-timing ^ ↗ rt-lyrics ^ ↗ rt-gm ^ ↗ rt-vocals Raffel, Colin (2016). Learning-Based Methods for Comparing Sequences, with Applications to Audio-to-MIDI Alignment and Matching. Columbia University. https://colinraffel.com/publications/thesis.pdf.
  3. ^ ↗ sl-creation Manilow, Ethan; Wichern, Gordon; Seetharaman, Prem; Le Roux, Jonathan (2019). Cutting Music Source Separation Some Slakh: A Dataset to Study the Impact of Training Data Quality and Quantity. 2019 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA). https://doi.org/10.1109/WASPAA.2019.8937170 https://arxiv.org/abs/1909.08494.
Available in