# Groove MIDI Dataset (GMD): 13.6 Hours of Expressive Human Drumming as MIDI with Synthesized Audio (Google Magenta)

## Facts

- Provider: Google Magenta (Jon Gillick, Adam Roberts, Jesse Engel, Douglas Eck, David Bamman)
- License: CC-BY-4.0 (https://magenta.tensorflow.org/datasets/groove)
- Stored at: Google Cloud Storage, gs://magentadata/datasets/groove (us)
- Access: public, readable without an account
- Category: Speech & Audio
- Source: https://magenta.tensorflow.org/datasets/groove
- Page: https://scigantic.com/archive/112eb19d-57aa-50ba-bfe7-faa3c1176820
- Keywords: Speech & Audio, Google Cloud Storage

## About

The Groove MIDI Dataset (GMD) contains about 13.6 hours of tempo-aligned, expressive drumming recorded in MIDI on a Roland TD-11 electronic drum kit, with the kit's synthesized audio captured and aligned to the MIDI within 2 ms. It has 1,150 MIDI files and over 22,000 measures of drumming by 10 drummers, more than 80 percent of the duration from hired professionals, who played to a metronome in a wide range of styles, mixing long continuous performances with short beats and fills. Each performance is annotated with genre (given by the drummer), tempo and an anonymized drummer ID; most are in 4/4. Four drummers recorded the same 10 beats in their own style (eval-session/groove1-10 in the test split). A train/validation/test split is provided. The folder holds groove-v1.0.0.zip (MIDI, WAV and a metadata CSV, about 5.1 GB) and groove-v1.0.0-midionly.zip (3.3 MB). Read the MIDI with pretty_midi or note-seq; the dataset is also in TensorFlow Datasets as groove. Used for drum pattern generation, humanization of quantized beats (groove transfer), tap-to-drum and drum transcription. License: CC BY 4.0, made available by Google LLC. Cite Gillick, Roberts, Engel, Eck and Bamman, Learning to Groove with Inverse Sequence Transformations, ICML 2019.

## Load the data

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

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

## Data structure

Example file: `datasets/groove/`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/112eb19d-57aa-50ba-bfe7-faa3c1176820
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/112eb19d-57aa-50ba-bfe7-faa3c1176820
- Over MCP: `get_schema_card` with id `112eb19d-57aa-50ba-bfe7-faa3c1176820` at https://api.scigantic.com/mcp

## Related topics

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