task_categories:audio-classification size_categories:n<1K language:en license:mit music art arxiv:2310.04722 region:us
Piano-Sound-Quality-Database is a dataset of piano sound. 
It consists of 8 kinds of pianos including PearlRiver, YoungChang, Steinway-T, Hsinghai, 
Kawai, Steinway, Kawai-G, Yamaha(recorded by Shaohua Ji with SONY PCM-D100). 
Data was annotated by students from the China Conservatory of Music (CCMUSIC) in Beijing
and collected by George Chou.
@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}
}
---
license: mit
task_categories:
- audio-classification
language:
- en
tags:
- music
- art
pretty_name: Piano Sound Quality Database
size_categories:
- n<1K
---

# Dataset Card for Piano Sound Quality Database
## Requirements
```
python 3.8-3.10
soundfile
librosa
```

## Usage
```
from datasets import load_dataset

data = load_dataset("ccmusic-database/piano_sound_quality", split="train")
labels = data.features['label'].names

for item in data:
    print('audio info: ', item['audio'])
    print('label name: ' + labels[item['label']])
```

## Maintenance
```
git clone git@hf.co:datasets/ccmusic-database/piano_sound_quality
```

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

### Dataset Summary
This database contains 12 full-range audio files (.wav/.mp3/.m4a format) of 7 models of piano (KAWAI upright piano, KAWAI grand piano, Yingchang upright piano, Xinghai upright piano, Grand Theatre Steinway piano, Steinway grand piano, Pearl River upright piano) and 1320 split monophonic audio files (. wav/.mp3/.m4a format), for a total of 1332 files. 

A score sheet (.xls format) of the piano sound quality rated by 29 people who participated in the subjective evaluation test is also included.

### Supported Tasks and Leaderboards
Piano Sound Classification, pitch detection

### Languages
English

## Dataset Structure
### Data Instances
.zip(.wav)

### Data Fields
```
1_PearlRiver
2_YoungChang
3_Steinway-T
4_Hsinghai
5_Kawai
6_Steinway
7_Kawai-G
8_Yamaha
```

### Data Splits
train, validation, test

## Dataset Creation
### Curation Rationale
Lack of a dataset for piano sound quality

### Source Data
#### Initial Data Collection and Normalization
Zhaorui Liu, Shaohua Ji, Monan Zhou
#### Who are the source language producers?
Students from CCMUSIC

### Annotations
#### Annotation process
This database contains 12 full-range audio files (.wav/.mp3/.m4a format) of 7 models of piano (KAWAI upright piano, KAWAI grand piano, Yingchang upright piano, Xinghai upright piano, Grand Theatre Steinway piano, Steinway grand piano, Pearl River upright piano)

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

### Personal and Sensitive Information
None

## Considerations for Using the Data
### Social Impact of Dataset
Help developing piano sound quality rating apps

### Discussion of Biases
Only for pianos

### Other Known Limitations
No black key in Steinway

## Additional Information
### Dataset Curators
Zijin Li

### Evaluation
[Monan Zhou, Shangda Wu, Shaohua Ji, Zijin Li, and Wei Li. A Holistic Evaluation of Piano Sound Quality[C]//Proceedings of the 6th Conference on Sound and Music Technology (CSMT). Springer, Singapore, 2023.](https://arxiv.org/pdf/2310.04722.pdf)

Note: this paper only uses the first 7 piano classes of the dataset.

### 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
```
@dataset{zhaorui_liu_2021_5676893,
  author       = {Zhaorui Liu, Monan Zhou, Shenyang Xu and Zijin Li},
  title        = {CCMUSIC DATABASE: Music Data Sharing Platform for Computational Musicology Research},
  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 piano sound quality