| --- |
| license: cc-by-nc-4.0 |
| language: |
| - en |
| tags: |
| - audio |
| - music |
| - music-source-separation |
| - youtube |
| pretty_name: MUSIC21 |
| size_categories: |
| - n<1K |
| task_categories: |
| - audio-classification |
| - audio-to-audio |
| --- |
| |
| # MUSIC21 (audio dump) |
|
|
| Audio tracks downloaded from YouTube according to the official MUSIC21 video-id |
| list released by Zhao et al. (*The Sound of Pixels*, ECCV 2018, and follow-up |
| *MUSIC-21*). |
|
|
| * Source list : <https://github.com/roudimit/MUSIC_dataset> |
| * Tooling : yt-dlp 2026.03.17 + yt-dlp-ejs + deno (n-challenge solver) |
| * Date crawled : 2026-05-22 |
|
|
| ## Statistics |
|
|
| | Field | Value | |
| |---|---| |
| | Original IDs in `id.txt` | 934 | |
| | Successfully downloaded | 927 | |
| | Unavailable on YouTube | 7 (private / removed / region-blocked) | |
| | Total size | ~4.1 GB | |
| | Format | mp3, best available bitrate | |
| | Packaging | a single uncompressed `tar` | |
|
|
| ## Files |
|
|
| ``` |
| MUSIC21_audio.tar # 927 .mp3 files inside, paths "audio/<youtube_id>.mp3" |
| id.txt # original 934 youtube ids (one per line) |
| unavailable.txt # 7 ids that could not be retrieved + reasons |
| ``` |
|
|
| ### Quick start |
|
|
| ```python |
| import tarfile |
| from huggingface_hub import hf_hub_download |
| |
| tar_path = hf_hub_download( |
| repo_id="FYQ12138/MUSIC21", |
| filename="MUSIC21_audio.tar", |
| repo_type="dataset", |
| ) |
| with tarfile.open(tar_path) as tf: |
| tf.extractall("./MUSIC21") |
| ``` |
|
|
| ## License & disclaimer |
|
|
| Audio is downloaded from YouTube; the underlying copyright belongs to the |
| respective uploaders. This dump is released **for non-commercial research |
| only** in line with the original MUSIC / MUSIC21 dataset usage convention. |
| If you are the rights holder of any clip and want it removed, please open an |
| issue on this repo. |
|
|
| ## Citation |
|
|
| ```bibtex |
| @inproceedings{zhao2018sound, |
| title = {The Sound of Pixels}, |
| author = {Zhao, Hang and Gan, Chuang and Rouditchenko, Andrew and Vondrick, Carl and McDermott, Josh and Torralba, Antonio}, |
| booktitle = {ECCV}, |
| year = {2018} |
| } |
| ``` |
|
|