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47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
---
license: cc
size_categories:
- 100K<n<1M
task_categories:
- audio-to-audio
- audio-classification
pretty_name: Free Music Archive - Full
dataset_info:
  features:
  - name: audio
    dtype: audio
  - name: title
    dtype: string
  - name: url
    dtype: string
  - name: artist
    dtype: string
  - name: composer
    dtype: string
  - name: lyricist
    dtype: string
  - name: publisher
    dtype: string
  - name: genres
    sequence:
      class_label:
        names:
          '0': 20th Century Classical
          '1': Abstract Hip-Hop
          '2': African
          '3': Afrobeat
          '4': Alternative Hip-Hop
          '5': Ambient
          '6': Ambient Electronic
          '7': Americana
          '8': Asia-Far East
          '9': Audio Collage
          '10': Avant-Garde
          '11': Balkan
          '12': Banter
          '13': Be-Bop
          '14': Big Band/Swing
          '15': Bigbeat
          '16': Black-Metal
          '17': Bluegrass
          '18': Blues
          '19': Bollywood
          '20': Brazilian
          '21': Breakbeat
          '22': Breakcore - Hard
          '23': British Folk
          '24': Celtic
          '25': Chamber Music
          '26': Chill-out
          '27': Chip Music
          '28': Chiptune
          '29': Choral Music
          '30': Christmas
          '31': Classical
          '32': Comedy
          '33': Compilation
          '34': Composed Music
          '35': Contemporary Classical
          '36': Country
          '37': Country & Western
          '38': Cumbia
          '39': Dance
          '40': Death-Metal
          '41': Deep Funk
          '42': Disco
          '43': Downtempo
          '44': Drone
          '45': Drum & Bass
          '46': Dubstep
          '47': Easy Listening
          '48': 'Easy Listening: Vocal'
          '49': Electro-Punk
          '50': Electroacoustic
          '51': Electronic
          '52': Europe
          '53': Experimental
          '54': Experimental Pop
          '55': Fado
          '56': Field Recordings
          '57': Flamenco
          '58': Folk
          '59': Freak-Folk
          '60': Free-Folk
          '61': Free-Jazz
          '62': French
          '63': Funk
          '64': Garage
          '65': Glitch
          '66': Gospel
          '67': Goth
          '68': Grindcore
          '69': Hardcore
          '70': Hip-Hop
          '71': Hip-Hop Beats
          '72': Holiday
          '73': House
          '74': IDM
          '75': Improv
          '76': Indian
          '77': Indie-Rock
          '78': Industrial
          '79': Instrumental
          '80': International
          '81': Interview
          '82': Jazz
          '83': 'Jazz: Out'
          '84': 'Jazz: Vocal'
          '85': Jungle
          '86': Kid-Friendly
          '87': Klezmer
          '88': Krautrock
          '89': Latin
          '90': Latin America
          '91': Lo-Fi
          '92': Loud-Rock
          '93': Lounge
          '94': Metal
          '95': Middle East
          '96': Minimal Electronic
          '97': Minimalism
          '98': Modern Jazz
          '99': Musical Theater
          '100': Musique Concrete
          '101': N. Indian Traditional
          '102': Nerdcore
          '103': New Age
          '104': New Wave
          '105': No Wave
          '106': Noise
          '107': Noise-Rock
          '108': North African
          '109': Novelty
          '110': Nu-Jazz
          '111': Old-Time / Historic
          '112': Opera
          '113': Pacific
          '114': Poetry
          '115': Polka
          '116': Pop
          '117': Post-Punk
          '118': Post-Rock
          '119': Power-Pop
          '120': Progressive
          '121': Psych-Folk
          '122': Psych-Rock
          '123': Punk
          '124': Radio
          '125': Radio Art
          '126': Radio Theater
          '127': Rap
          '128': Reggae - Dancehall
          '129': Reggae - Dub
          '130': Rock
          '131': Rock Opera
          '132': Rockabilly
          '133': Romany (Gypsy)
          '134': Salsa
          '135': Shoegaze
          '136': Singer-Songwriter
          '137': Skweee
          '138': Sludge
          '139': Soul-RnB
          '140': Sound Art
          '141': Sound Collage
          '142': Sound Effects
          '143': Sound Poetry
          '144': Soundtrack
          '145': South Indian Traditional
          '146': Space-Rock
          '147': Spanish
          '148': Spoken
          '149': Spoken Weird
          '150': Spoken Word
          '151': Surf
          '152': Symphony
          '153': Synth Pop
          '154': Talk Radio
          '155': Tango
          '156': Techno
          '157': Thrash
          '158': Trip-Hop
          '159': Turkish
          '160': Unclassifiable
          '161': Western Swing
          '162': Wonky
          '163': hiphop
  - name: tags
    sequence: string
  - name: released
    dtype: timestamp[s]
  - name: language
    dtype: string
  - name: listens
    dtype: uint64
  - name: artist_url
    dtype: string
  - name: artist_website
    dtype: string
  - name: album_title
    dtype: string
  - name: album_url
    dtype: string
  - name: license
    dtype:
      class_label:
        names:
          '0': CC-BY 1.0
          '1': CC-BY 2.0
          '2': CC-BY 2.5
          '3': CC-BY 3.0
          '4': CC-BY 4.0
          '5': CC-BY-NC 2.0
          '6': CC-BY-NC 2.1
          '7': CC-BY-NC 2.5
          '8': CC-BY-NC 3.0
          '9': CC-BY-NC 4.0
          '10': CC-BY-NC-ND 2.0
          '11': CC-BY-NC-ND 2.1
          '12': CC-BY-NC-ND 2.5
          '13': CC-BY-NC-ND 3.0
          '14': CC-BY-NC-ND 4.0
          '15': CC-BY-NC-SA 2.0
          '16': CC-BY-NC-SA 2.1
          '17': CC-BY-NC-SA 2.5
          '18': CC-BY-NC-SA 3.0
          '19': CC-BY-NC-SA 4.0
          '20': CC-BY-ND 2.0
          '21': CC-BY-ND 2.5
          '22': CC-BY-ND 3.0
          '23': CC-BY-ND 4.0
          '24': CC-BY-SA 2.0
          '25': CC-BY-SA 2.5
          '26': CC-BY-SA 3.0
          '27': CC-BY-SA 4.0
          '28': CC-NC-Sampling+ 1.0
          '29': CC-Sampling+ 1.0
          '30': CC0 1.0
          '31': FMA Sound Recording Common Law
          '32': Free Art License
          '33': Free Music Philosophy (FMP)
          '34': Public Domain Mark 1.0
  - name: copyright
    dtype: string
  - name: explicit
    dtype:
      class_label:
        names:
          '0': 'No'
          '1': 'Yes'
  - name: instrumental
    dtype:
      class_label:
        names:
          '0': 'No'
          '1': 'Yes'
  - name: allow_commercial_use
    dtype:
      class_label:
        names:
          '0': 'No'
          '1': 'Yes'
  - name: allow_derivatives
    dtype:
      class_label:
        names:
          '0': 'No'
          '1': 'Yes'
  - name: require_attribution
    dtype:
      class_label:
        names:
          '0': 'No'
          '1': 'Yes'
  - name: require_share_alike
    dtype:
      class_label:
        names:
          '0': 'No'
          '1': 'Yes'
  splits:
  - name: train
    num_bytes: 748069984611.833
    num_examples: 106199
  download_size: 954754676934
  dataset_size: 748069984611.833
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
tags:
- fma
- free-music-archive
---

# Notice

**There was an issue with some files in this dataset.** I am reprocessing it, please hang tight, it takes several days! (2024-09-13)

# FMA: A Dataset for Music Analysis

[Michaël Defferrard](https://deff.ch/), [Kirell Benzi](https://kirellbenzi.com/), [Pierre Vandergheynst](https://people.epfl.ch/pierre.vandergheynst), [Xavier Bresson](https://www.ntu.edu.sg/home/xbresson).

**International Society for Music Information Retrieval Conference (ISMIR), 2017.**

> We introduce the Free Music Archive (FMA), an open and easily accessible dataset suitable for evaluating several tasks in MIR, a field concerned with browsing, searching, and organizing large music collections. The community's growing interest in feature and end-to-end learning is however restrained by the limited availability of large audio datasets. The FMA aims to overcome this hurdle by providing 917 GiB and 343 days of Creative Commons-licensed audio from 106,574 tracks from 16,341 artists and 14,854 albums, arranged in a hierarchical taxonomy of 161 genres. It provides full-length and high-quality audio, pre-computed features, together with track- and user-level metadata, tags, and free-form text such as biographies. We here describe the dataset and how it was created, propose a train/validation/test split and three subsets, discuss some suitable MIR tasks, and evaluate some baselines for genre recognition. Code, data, and usage examples are available at https://github.com/mdeff/fma.

Paper: [arXiv:1612.01840](https://arxiv.org/abs/1612.01840) - [latex and reviews](https://github.com/mdeff/paper-fma-ismir2017)

Slides: [doi:10.5281/zenodo.1066119](https://doi.org/10.5281/zenodo.1066119)

Poster: [doi:10.5281/zenodo.1035847](https://doi.org/10.5281/zenodo.1035847)

# This Pack

This is the **full** dataset, comprising a total of **105,024 samples** clips of **untrimmed length** over **16** *unbalanced* genres totaling **8,104 hours** of audio.

## Repack Notes

- 173 files were unreadable by `libsndfile / libmpg123`, these were removed.
- 1377 files had licenses that were unclear on whether or not they permitted redistribution, or the full license text was unavailable. These were removed.

# License

- The [FMA codebase](https://github.com/mdeff/fma) is released under [The MIT License](https://github.com/mdeff/fma/blob/master/LICENSE.txt).
- The FMA metadata is released under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0).
- The individual files are released under various Creative Commons family licenses, with a small amount of additional licenses. **Each file has its license attached and important details of the license enumerated.** To make it easy to use for developers and trainers, a configuration is available to limit only to commercially-usable data.

Please refer to any of the following URLs for additional details.

| Class Label | License Name | URL |
| ----------- | ------------ | --- |
| 0 | CC-BY 1.0 | https://creativecommons.org/licenses/by/1.0/ |
| 1 | CC-BY 2.0 | https://creativecommons.org/licenses/by/2.0/ |
| 2 | CC-BY 2.5 | https://creativecommons.org/licenses/by/2.5/ |
| 3 | CC-BY 3.0 | https://creativecommons.org/licenses/by/3.0/ |
| 4 | CC-BY 4.0 | https://creativecommons.org/licenses/by/4.0/ |
| 5 | CC-BY-NC 2.0 | https://creativecommons.org/licenses/by-nc/2.0/ |
| 6 | CC-BY-NC 2.1 | https://creativecommons.org/licenses/by-nc/2.1/ |
| 7 | CC-BY-NC 2.5 | https://creativecommons.org/licenses/by-nc/2.5/ |
| 8 | CC-BY-NC 3.0 | https://creativecommons.org/licenses/by-nc/3.0/ |
| 9 | CC-BY-NC 4.0 | https://creativecommons.org/licenses/by-nc/4.0/ |
| 10 | CC-BY-NC-ND 2.0 | https://creativecommons.org/licenses/by-nc-nd/2.0/ |
| 11 | CC-BY-NC-ND 2.1 | https://creativecommons.org/licenses/by-nc-nd/2.1/ |
| 12 | CC-BY-NC-ND 2.5 | https://creativecommons.org/licenses/by-nc-nd/2.5/ |
| 13 | CC-BY-NC-ND 3.0 | https://creativecommons.org/licenses/by-nc-nd/3.0/ |
| 14 | CC-BY-NC-ND 4.0 | https://creativecommons.org/licenses/by-nc-nd/4.0/ |
| 15 | CC-BY-NC-SA 2.0 | https://creativecommons.org/licenses/by-nc-sa/2.0/ |
| 16 | CC-BY-NC-SA 2.1 | https://creativecommons.org/licenses/by-nc-sa/2.1/ |
| 17 | CC-BY-NC-SA 2.5 | https://creativecommons.org/licenses/by-nc-sa/2.5/ |
| 18 | CC-BY-NC-SA 3.0 | https://creativecommons.org/licenses/by-nc-sa/3.0/ |
| 19 | CC-BY-NC-SA 4.0 | https://creativecommons.org/licenses/by-nc-sa/4.0/ |
| 20 | CC-BY-ND 2.0 | https://creativecommons.org/licenses/by-nd/2.0/ |
| 21 | CC-BY-ND 2.5 | https://creativecommons.org/licenses/by-nd/2.5/ |
| 22 | CC-BY-ND 3.0 | https://creativecommons.org/licenses/by-nd/3.0/ |
| 23 | CC-BY-ND 4.0 | https://creativecommons.org/licenses/by-nd/4.0/ |
| 24 | CC-BY-SA 2.0 | https://creativecommons.org/licenses/by-sa/2.0/ |
| 25 | CC-BY-SA 2.5 | https://creativecommons.org/licenses/by-sa/2.5/ |
| 26 | CC-BY-SA 3.0 | https://creativecommons.org/licenses/by-sa/3.0/ |
| 27 | CC-BY-SA 4.0 | https://creativecommons.org/licenses/by-sa/4.0/ |
| 28 | CC-NC-Sampling+ 1.0 | https://creativecommons.org/licenses/nc-sampling+/1.0/ |
| 29 | CC-Sampling+ 1.0 | https://creativecommons.org/licenses/sampling+/1.0/ |
| 30 | FMA Sound Recording Common Law | https://freemusicarchive.org/Sound_Recording_Common_Law |
| 31 | Free Art License | https://artlibre.org/licence/lal/en |
| 32 | Free Music Philosophy (FMP) | https://irdial.com/free_and_easy.htm |

## Total Duration by License

| License | Total Duration (Percentage) |
| ------- | --------------------------- |
| CC-BY-NC-SA 3.0 | 2768.3 hours (34.16%) |
| CC-BY-NC-ND 3.0 | 2296.4 hours (28.34%) |
| CC-BY-NC-ND 4.0 | 1018.4 hours (12.57%) |
| CC-BY-NC-SA 4.0 | 533.2 hours (6.58%) |
| CC-BY 4.0 | 377.0 hours (4.65%) |
| CC-BY-NC 3.0 | 288.9 hours (3.56%) |
| CC-BY-NC 4.0 | 232.6 hours (2.87%) |
| CC-BY 3.0 | 106.9 hours (1.32%) |
| CC-BY-SA 4.0 | 99.4 hours (1.23%) |
| CC-BY-SA 3.0 | 79.7 hours (0.98%) |
| CC-BY-NC-SA 2.0 | 65.1 hours (0.80%) |
| CC-BY-NC-ND 2.0 | 56.2 hours (0.69%) |
| CC-BY-ND 3.0 | 36.8 hours (0.45%) |
| CC-BY-ND 4.0 | 25.0 hours (0.31%) |
| CC-BY-NC-ND 2.5 | 24.2 hours (0.30%) |
| FMA Sound Recording Common Law | 19.9 hours (0.25%) |
| CC-BY-NC-SA 2.5 | 18.0 hours (0.22%) |
| CC-BY-NC 2.5 | 13.3 hours (0.16%) |
| CC0 1.0 | 10.5 hours (0.13%) |
| CC-BY 1.0 | 10.4 hours (0.13%) |
| Free Music Philosophy (FMP) | 4.4 hours (0.05%) |
| Free Art License | 2.7 hours (0.03%) |
| CC-BY 2.0 | 2.5 hours (0.03%) |
| CC-BY-NC 2.1 | 2.4 hours (0.03%) |
| CC-BY-NC-SA 2.1 | 2.3 hours (0.03%) |
| CC-BY-SA 2.0 | 1.9 hours (0.02%) |
| CC-BY-NC 2.0 | 1.6 hours (0.02%) |
| CC-BY-ND 2.5 | 1.6 hours (0.02%) |
| CC-NC-Sampling+ 1.0 | 1.4 hours (0.02%) |
| CC-BY-NC-ND 2.1 | 65.0 minutes (0.01%) |
| CC-Sampling+ 1.0 | 53.9 minutes (0.01%) |
| CC-BY-SA 2.5 | 31.8 minutes (0.01%) |
| CC-BY-ND 2.0 | 29.7 minutes (0.01%) |
| CC-BY 2.5 | 11.2 minutes (0.00%) |

# Citations

```
@inproceedings{fma_dataset,
  title = {{FMA}: A Dataset for Music Analysis},
  author = {Defferrard, Micha\"el and Benzi, Kirell and Vandergheynst, Pierre and Bresson, Xavier},
  booktitle = {18th International Society for Music Information Retrieval Conference (ISMIR)},
  year = {2017},
  archiveprefix = {arXiv},
  eprint = {1612.01840},
  url = {https://arxiv.org/abs/1612.01840},
}
```

```
@inproceedings{fma_challenge,
  title = {Learning to Recognize Musical Genre from Audio},
  subtitle = {Challenge Overview},
  author = {Defferrard, Micha\"el and Mohanty, Sharada P. and Carroll, Sean F. and Salath\'e, Marcel},
  booktitle = {The 2018 Web Conference Companion},
  year = {2018},
  publisher = {ACM Press},
  isbn = {9781450356404},
  doi = {10.1145/3184558.3192310},
  archiveprefix = {arXiv},
  eprint = {1803.05337},
  url = {https://arxiv.org/abs/1803.05337},
}
```