Download

SPDMX ships on Mozilla Data Collective as two archives (~743 GB each, ~1.5 TB total). You need both for the full corpus. License: CC BY 4.0. MDC requires an account and accepting the dataset terms before download.

Setup

Extract both parts into one directory, then optionally restore mix paths for single-track songs.

  1. Download Part 1 and Part 2 from the pills above (MDC may name files like spdmx-part-1-of-2-….tar.gz).
  2. Extract both into the same folder so indexes and all chunk_N/ sit together:
    mkdir -p SPDMX
    tar -xzf spdmx-part-1-of-2-*.tar.gz -C SPDMX
    tar -xzf spdmx-part-2-of-2-*.tar.gz -C SPDMX
  3. (Recommended) Create mix.flac → 0.flac symlinks for single-track songs (~65% of the corpus omit mix.flac to avoid duplicating the stem). Multitrack songs already ship mix.flac.

    Without this step, load 0.flac when subset:multitrack is false or n_tracks == 1.

Symlink script

The archive includes link_single_track_mixes.sh. If you need it standalone, copy this into the unpacked dataset root and run it:

After download

Filter with songs.csv first (e.g. subset:bdgp, subset:multitrack), then restrict stems.csv. Join to PDMX on song_id. Schema details ship in README.md inside the archive.