File size: 6,108 Bytes
f17c6ac
 
bf74925
cf20371
bf74925
 
 
 
 
 
 
 
00a729a
f17c6ac
bf74925
00a729a
 
 
bf74925
 
 
 
 
00a729a
bf74925
 
00a729a
bf74925
 
cf20371
bf74925
 
 
 
00a729a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bf74925
926a4fb
 
 
 
00a729a
bf74925
 
 
 
 
 
 
 
 
 
 
 
 
cf20371
bf74925
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
00a729a
bf74925
 
 
00a729a
bf74925
 
 
 
 
 
 
 
 
 
 
 
 
 
 
00a729a
bf74925
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
00a729a
bf74925
00a729a
 
 
 
 
 
 
bf74925
 
 
 
cf20371
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
---
license: mit
task_categories:
- time-series-forecasting
language:
- en
tags:
- music
- art
pretty_name: Song Structure Annotation Database
size_categories:
- n<1K
viewer: false
---

# Dataset Card for Song Structure
The raw dataset comprises 300 pop songs in .mp3 format, sourced from the NetEase music, accompanied by a structure annotation file for each song in .txt format. The annotator for music structure is a professional musician and teacher from the China Conservatory of Music. For the statistics of the dataset, there are 208 Chinese songs, 87 English songs, three Korean songs and two Japanese songs. The song structures are labeled as follows: intro, re-intro, verse, chorus, pre-chorus, post-chorus, bridge, interlude and ending. Fig. 7 shows the frequency of each segment label that appears in the set. The labels chorus and verse are the two most prevalent segment labels in the dataset and they are the most common segment in Western popular music. Among them, the number of “Postchorus” tags is the least, with only two present.

## Dataset Description
- **Homepage:** <https://ccmusic-database.github.io>
- **Repository:** <https://huggingface.co/datasets/CCMUSIC/song_structure>
- **Paper:** <https://doi.org/10.5281/zenodo.5676893>
- **Leaderboard:** <https://ccmusic-database.github.io/team.html>
- **Point of Contact:** <https://www.modelscope.cn/datasets/ccmusic/song_structure>

### Dataset Summary
Unlike the above three datasets for classification, this one has not undergone pre-processing such as spectrogram transform. Thus we provide the original content only. The integrated version of the dataset is organized based on audio files, with each item structured into three columns: The first column contains the audio of the song in .mp3 format, sampled at 22,050 Hz. The second column consists of lists indicating the time points that mark the boundaries of different song sections, while the third column contains lists corresponding to the labels of the song structures listed in the second column. Strictly speaking, the first column represents the data, while the subsequent two columns represent the label.

### Supported Tasks and Leaderboards
time-series-forecasting

### Languages
Chinese, English

## Usage
```python
from datasets import load_dataset

dataset = load_dataset("ccmusic-database/song_structure")
for item in ds["train"]:
    print(item)

for item in ds["validation"]:
    print(item)

for item in ds["test"]:
    print(item)
```

## Dataset Structure
|                                                          audio(.wav, 22050Hz)                                                           |              mel(.jpg, 22050Hz)               |                          label                          |
| :-------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------: | :-----------------------------------------------------: |
| <audio controls src="https://huggingface.co/datasets/ccmusic-database/song_structure/resolve/main/data/Pentatonix%20-%20Valentine.mp3"> | <img src="./data/Pentatonix - Valentine.jpg"> | {onset_time:uint32,offset_time:uint32,structure:string} |
|                                                                   ...                                                                   |                      ...                      |                           ...                           |

### Data Instances
.wav, .txt

### Data Fields
```
intro, chorus, verse, pre-chorus, post-chorus, bridge, ending
```

### Data Splits
train, valid, test

## Dataset Creation
### Curation Rationale
Lack of a dataset for song structure

### Source Data
#### Initial Data Collection and Normalization
Zhaorui Liu, Monan Zhou

#### Who are the source language producers?
Students from CCMUSIC

### Annotations
#### Annotation process
Students from CCMUSIC collected 300 pop songs, as well as a structure annotation file for each song

#### Who are the annotators?
Students from CCMUSIC

### Personal and Sensitive Information
Due to copyright issues with the original music, only features of audio by frame are provided in the dataset

## Considerations for Using the Data
### Social Impact of Dataset
Promoting the development of the AI music industry

### Discussion of Biases
Only for mp3

### Other Known Limitations
Most are Chinese songs

## Additional Information
### Dataset Curators
Zijin Li

### Licensing Information
```
MIT License

Copyright (c) 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
```bibtex
@dataset{zhaorui_liu_2021_5676893,
  author       = {Monan Zhou, Shenyang Xu, Zhaorui Liu, Zhaowen Wang, Feng Yu, Wei Li and Baoqiang Han},
  title        = {CCMusic: an Open and Diverse Database for Chinese and General Music Information Retrieval Research},
  month        = {mar},
  year         = {2024},
  publisher    = {HuggingFace},
  version      = {1.2},
  url          = {https://huggingface.co/ccmusic-database}
}
```

### Contributions
Provide a dataset for song structure