image
image
fst_level_label
class label
2 classes
sec_level_label
class label
9 classes
thr_level_label
class label
16 classes
duration
int16
42
1.58k
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
121
1 (Classic)
6 (Chamber)
6 (Chamber)
282
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
104
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
127
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
260
2 (Non_classic)
11 (Rock)
19 (Adult_alternative_rock)
237
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
225
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
180
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
224
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
183
1 (Classic)
3 (Symphony)
3 (Symphony)
453
1 (Classic)
3 (Symphony)
3 (Symphony)
550
1 (Classic)
4 (Opera)
4 (Opera)
159
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
162
2 (Non_classic)
7 (Pop)
14 (Teen_pop)
222
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
269
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
278
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
177
2 (Non_classic)
7 (Pop)
13 (Adult_contemporary)
191
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
292
2 (Non_classic)
7 (Pop)
13 (Adult_contemporary)
208
2 (Non_classic)
7 (Pop)
14 (Teen_pop)
192
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
55
1 (Classic)
4 (Opera)
4 (Opera)
563
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
260
2 (Non_classic)
11 (Rock)
19 (Adult_alternative_rock)
266
1 (Classic)
4 (Opera)
4 (Opera)
126
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
213
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
182
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
172
2 (Non_classic)
7 (Pop)
14 (Teen_pop)
263
1 (Classic)
5 (Solo)
5 (Solo)
297
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
220
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
193
2 (Non_classic)
11 (Rock)
20 (Uplifting_anthemic_rock)
180
2 (Non_classic)
11 (Rock)
19 (Adult_alternative_rock)
195
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
167
2 (Non_classic)
11 (Rock)
20 (Uplifting_anthemic_rock)
121
2 (Non_classic)
7 (Pop)
13 (Adult_contemporary)
321
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
205
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
300
1 (Classic)
3 (Symphony)
3 (Symphony)
550
1 (Classic)
5 (Solo)
5 (Solo)
292
2 (Non_classic)
7 (Pop)
12 (Pop_vocal_ballad)
131
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
268
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
330
2 (Non_classic)
11 (Rock)
20 (Uplifting_anthemic_rock)
126
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
139
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
271
2 (Non_classic)
7 (Pop)
12 (Pop_vocal_ballad)
189
2 (Non_classic)
7 (Pop)
14 (Teen_pop)
225
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
240
1 (Classic)
3 (Symphony)
3 (Symphony)
472
1 (Classic)
5 (Solo)
5 (Solo)
186
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
161
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
96
2 (Non_classic)
11 (Rock)
20 (Uplifting_anthemic_rock)
179
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
175
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
211
1 (Classic)
3 (Symphony)
3 (Symphony)
324
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
252
1 (Classic)
3 (Symphony)
3 (Symphony)
296
2 (Non_classic)
7 (Pop)
13 (Adult_contemporary)
207
2 (Non_classic)
7 (Pop)
13 (Adult_contemporary)
233
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
363
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
112
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
197
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
431
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
224
1 (Classic)
4 (Opera)
4 (Opera)
162
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
184
2 (Non_classic)
11 (Rock)
19 (Adult_alternative_rock)
189
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
381
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
123
2 (Non_classic)
11 (Rock)
20 (Uplifting_anthemic_rock)
191
2 (Non_classic)
11 (Rock)
22 (Acoustic_pop)
268
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
212
1 (Classic)
6 (Chamber)
6 (Chamber)
436
1 (Classic)
6 (Chamber)
6 (Chamber)
269
2 (Non_classic)
11 (Rock)
21 (Soft_rock)
257
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
155
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
225
2 (Non_classic)
11 (Rock)
20 (Uplifting_anthemic_rock)
155
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
177
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
173
1 (Classic)
4 (Opera)
4 (Opera)
139
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
221
2 (Non_classic)
8 (Dance_and_house)
15 (Contemporary_dance_pop)
202
1 (Classic)
4 (Opera)
4 (Opera)
109
1 (Classic)
4 (Opera)
4 (Opera)
243
2 (Non_classic)
7 (Pop)
12 (Pop_vocal_ballad)
107
2 (Non_classic)
7 (Pop)
14 (Teen_pop)
184
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
261
2 (Non_classic)
10 (Soul_or_r_and_b)
10 (Soul_or_r_and_b)
189
2 (Non_classic)
8 (Dance_and_house)
16 (Dance_pop)
248
2 (Non_classic)
9 (Indie)
18 (Chamber_cabaret_and_art_pop)
207
2 (Non_classic)
11 (Rock)
19 (Adult_alternative_rock)
192
2 (Non_classic)
9 (Indie)
17 (Classic_indie_pop)
453
1 (Classic)
5 (Solo)
5 (Solo)
318
1 (Classic)
4 (Opera)
4 (Opera)
140

Dataset Card for Music Genre Database

Dataset Summary

This database contains about 1700 musical pieces (.mp3 format) with lengths of 270-300s that are divided into 17 genres in total.

Supported Tasks and Leaderboards

Audio classification

Languages

Multilingual

Usage

When doing classification task, only one colum of fst_level_label, sec_level_label and thr_level_label can be used, not for mixing.

from datasets import load_dataset

dataset = load_dataset("ccmusic-database/music_genre")
print(dataset)

Dataset Structure

Data Instances

.zip(.png) .csv

Data Fields

1_Classic
    3_Symphony
    4_Opera
    5_Solo
    6_Chamber

2_Non_classic
    7_Pop
        12_Pop_vocal_ballad
        13_Adult_contemporary
        14_Teen_pop

    8_Dance_and_house
        15_Contemporary_dance_pop
        16_Dance_pop

    9_Indie
        17_Classic_indie_pop
        18_Chamber_cabaret_and_art_pop

    10_Soul_or_r_and_b

    11_Rock
        19_Adult_alternative_rock
        20_Uplifting_anthemic_rock
        21_Soft_rock
        22_Acoustic_pop

Data Splits

Train, validation, test

Dataset Creation

Curation Rationale

Promoting the development of AI in the music industry

Source Data

Initial Data Collection and Normalization

Zhaorui Liu, Monan Zhou

Who are the source language producers?

Composers of the songs in dataset

Annotations

Annotation process

Students collected about 1700 musical pieces (.mp3 format) with lengths of 270-300s divided into 17 genres in total.

Who are the annotators?

Students from CCMUSIC

Personal and Sensitive Information

Due to copyright issues with the original music, only mel spectrograms are provided in the dataset.

Considerations for Using the Data

Social Impact of Dataset

Promoting the development of AI in the music industry

Discussion of Biases

Most are English songs

Other Known Limitations

Samples are not balanced enough

Additional Information

Dataset Curators

Zijin Li

Licensing Information

MIT License

Copyright (c) 2023 CCMUSIC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Citation Information

@dataset{zhaorui_liu_2021_5676893,
  author       = {Zhaorui Liu, Monan Zhou, Shenyang Xu and Zijin Li},
  title        = {{Music Data Sharing Platform for Computational Musicology Research (CCMUSIC DATASET)}},
  month        = nov,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {1.1},
  doi          = {10.5281/zenodo.5676893},
  url          = {https://doi.org/10.5281/zenodo.5676893}
}

Contributions

Provide a dataset for music genre classification

Downloads last month
28
Evaluate models HF Leaderboard

Models trained or fine-tuned on ccmusic-database/music_genre