Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- audio-classification
|
| 5 |
+
tags:
|
| 6 |
+
- drum-samples
|
| 7 |
+
- percussion
|
| 8 |
+
- one-shot
|
| 9 |
+
- anechoic
|
| 10 |
+
- audio-classification
|
| 11 |
+
pretty_name: "Dynamic Percussion Dataset"
|
| 12 |
+
size_categories:
|
| 13 |
+
- 1K<n<10K
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Dynamic Percussion Dataset
|
| 17 |
+
|
| 18 |
+
## Quick Start
|
| 19 |
+
|
| 20 |
+
```python
|
| 21 |
+
from datasets import load_dataset
|
| 22 |
+
|
| 23 |
+
# Stream to avoid downloading the entire dataset
|
| 24 |
+
ds = load_dataset("schismaudio/dynamic-percussion", streaming=True)
|
| 25 |
+
|
| 26 |
+
# Or download locally
|
| 27 |
+
ds = load_dataset("schismaudio/dynamic-percussion")
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
## Dataset Description
|
| 31 |
+
|
| 32 |
+
The **Dynamic Percussion Dataset** is a collection of one-shot percussion samples recorded in an anechoic chamber at Tampere University. Audio is 44.1 kHz, 24-bit, mono WAV. Pre-calculated [OpenL3](https://github.com/marl/openl3) audio embeddings are included alongside the raw waveforms. The full dataset is approximately 174 MB.
|
| 33 |
+
|
| 34 |
+
Originally created as part of a Bachelor's thesis (Tampere University, 2020), the dataset was designed to support research in percussion sound classification and sample retrieval. The controlled anechoic recording environment provides clean, room-reflection-free samples.
|
| 35 |
+
|
| 36 |
+
## Dataset Structure
|
| 37 |
+
|
| 38 |
+
### Data Fields
|
| 39 |
+
|
| 40 |
+
| Field | Type | Description |
|
| 41 |
+
|-------|------|-------------|
|
| 42 |
+
| `audio` | `Audio` | WAV file at 44.1 kHz, 24-bit, mono |
|
| 43 |
+
| `filename` | `string` | Original filename |
|
| 44 |
+
| `instrument` | `string` | Percussion instrument label |
|
| 45 |
+
| `embedding` | `Sequence[float]` | Pre-calculated OpenL3 embedding vector |
|
| 46 |
+
|
| 47 |
+
### Data Splits
|
| 48 |
+
|
| 49 |
+
This dataset has no predefined splits. All samples are in the default `train` split.
|
| 50 |
+
|
| 51 |
+
## Usage Examples
|
| 52 |
+
|
| 53 |
+
### Load audio samples
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
|
| 58 |
+
ds = load_dataset("schismaudio/dynamic-percussion")
|
| 59 |
+
|
| 60 |
+
sample = ds["train"][0]
|
| 61 |
+
print(sample["filename"], sample["instrument"])
|
| 62 |
+
# Access raw audio array and sampling rate
|
| 63 |
+
audio_array = sample["audio"]["array"]
|
| 64 |
+
sr = sample["audio"]["sampling_rate"] # 44100
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### Use pre-calculated embeddings
|
| 68 |
+
|
| 69 |
+
```python
|
| 70 |
+
import numpy as np
|
| 71 |
+
from datasets import load_dataset
|
| 72 |
+
|
| 73 |
+
ds = load_dataset("schismaudio/dynamic-percussion")
|
| 74 |
+
|
| 75 |
+
embeddings = np.array([s["embedding"] for s in ds["train"]])
|
| 76 |
+
labels = [s["instrument"] for s in ds["train"]]
|
| 77 |
+
print(f"Embedding matrix: {embeddings.shape}")
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
## Dataset Creation
|
| 81 |
+
|
| 82 |
+
### Source Data
|
| 83 |
+
|
| 84 |
+
All samples were recorded in an anechoic chamber at Tampere University using various percussion instruments. The anechoic environment ensures each sample is free of room reflections and background noise, making the recordings suitable as clean one-shot sources for synthesis, augmentation, and classification research.
|
| 85 |
+
|
| 86 |
+
### Annotations
|
| 87 |
+
|
| 88 |
+
Instrument labels were assigned at recording time. OpenL3 embeddings were computed offline using the pre-trained music model.
|
| 89 |
+
|
| 90 |
+
## Known Limitations
|
| 91 |
+
|
| 92 |
+
- **Anechoic conditions:** The recording environment does not match real-world studio or live settings. Models trained on this data may not generalize to reverberant or noisy conditions.
|
| 93 |
+
- **Limited instrument diversity:** The dataset covers a subset of percussion instruments; rare or regional instruments are not represented.
|
| 94 |
+
- **Mono only:** No stereo recordings are included.
|
| 95 |
+
|
| 96 |
+
## Related Datasets
|
| 97 |
+
|
| 98 |
+
This dataset is part of the [Drum Audio Datasets](https://huggingface.co/collections/schismaudio/drum-audio-datasets) collection by [schismaudio](https://huggingface.co/schismaudio). Related datasets:
|
| 99 |
+
|
| 100 |
+
- [schismaudio/drum-percussion-kits](https://huggingface.co/datasets/schismaudio/drum-percussion-kits) — Broader collection of drum and percussion one-shots including SampleSwap and generated samples
|
| 101 |
+
- [schismaudio/vcsl-percussion](https://huggingface.co/datasets/schismaudio/vcsl-percussion) — Percussion samples from the Virtual Competitive Score Library
|
| 102 |
+
|
| 103 |
+
## Citation
|
| 104 |
+
|
| 105 |
+
```bibtex
|
| 106 |
+
@misc{dynamicpercussion2020,
|
| 107 |
+
title = {Dynamic Percussion Dataset},
|
| 108 |
+
author = {Tampere University},
|
| 109 |
+
year = {2020},
|
| 110 |
+
publisher = {Zenodo},
|
| 111 |
+
doi = {10.5281/zenodo.3780109},
|
| 112 |
+
url = {https://zenodo.org/record/3780109}
|
| 113 |
+
}
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
## License
|
| 117 |
+
|
| 118 |
+
This dataset is released under the [Creative Commons Attribution 4.0 International License (CC-BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
| 119 |
+
|
| 120 |
+
You are free to share and adapt this dataset for any purpose, including commercial use, as long as you give appropriate credit to the original authors (Tampere University).
|