# E-GMD: Expanded Groove MIDI Dataset, 444 Hours of Human Drumming on 43 Drum Kits with Aligned MIDI and Audio (Google Magenta)

## Facts

- Provider: Google Magenta (Lee Callender, Curtis Hawthorne, Jesse Engel)
- License: CC-BY-4.0 (https://magenta.tensorflow.org/datasets/e-gmd)
- Format: CSV (in sampled files)
- Stored at: Google Cloud Storage, gs://magentadata/datasets/e-gmd (us)
- Access: public, readable without an account
- Category: Speech & Audio
- Source: https://arxiv.org/abs/2004.00188
- Page: https://scigantic.com/archive/e393d80a-3ca7-5dae-b7a4-772170cb8778
- Keywords: Speech & Audio, CSV, Google Cloud Storage

## About

E-GMD is a drum transcription dataset of human drum performances with aligned MIDI and audio, and the first human-performed drum transcription dataset with note velocity annotations. It expands the Groove MIDI Dataset: the GMD sequences, played by drummers on a Roland TD-11 electronic kit, were re-recorded through a Roland TD-17 on 43 drum kits ranging from electronic (808, 909) to acoustic sounds, at 44.1 kHz and 24 bits, aligned to the MIDI within 2 ms. It holds 45,537 sequences (1,059 unique) totaling 444.5 hours: train 35,217 sequences (341.4 h), test 5,289 (50.9 h) and validation 5,031 (52.2 h), keeping the GMD splits, with every kit present in every split. The v1.0.0/ folder contains e-gmd-v1.0.0.zip (MIDI and WAV, about 96 GB), a MIDI-only zip and e-gmd-v1.0.0.csv metadata with drummer ID, session, performance ID, style, tempo, beat type, time signature, duration, split, file paths and kit_name. Used for automatic drum transcription (ADT) and expressive drum modeling. License: CC BY 4.0, made available by Google LLC. Cite Callender, Hawthorne and Engel, Improving Perceptual Quality of Drum Transcription with the Expanded Groove MIDI Dataset, arXiv:2004.00188.

## Load the data

```python
import gcsfs
fs = gcsfs.GCSFileSystem(token='anon')
fs.ls('magentadata/datasets/e-gmd/', detail=False)[:10]
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

File types in sampled files: CSV

Example file: `datasets/e-gmd/v1.0.0/e-gmd-v1.0.0-midi.zip`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/e393d80a-3ca7-5dae-b7a4-772170cb8778
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/e393d80a-3ca7-5dae-b7a4-772170cb8778
- Over MCP: `get_schema_card` with id `e393d80a-3ca7-5dae-b7a4-772170cb8778` at https://api.scigantic.com/mcp

## Related topics

- [CSV datasets](https://scigantic.com/topics/csv)
- [Speech & Audio datasets](https://scigantic.com/topics/speech-and-audio)
