MidiMus-25K / README.md
Kotodobr's picture
Update README.md
9113873 verified
|
Raw History Blame Contribute Delete
1.85 kB
---
license: apache-2.0
task_categories:
- text-to-audio
language:
- en
tags:
- audio
- text
configs:
- config_name: default
data_files:
- split: train
path: "metadata.csv"
pretty_name: MidiMUS 25K Medium
size_categories:
- 10K<n<100K
---
# MidiMus 25K
**MidiMus** is a _tiny text-to-MIDI dataset_.
It has 25000 samples of MIDIs, 10 scales (major, minor, natural minor, ...), 7 genres (classical, jazz, pop...), 7 rhythms.
# Format
**File structure**:
```
soundfolder
|
|--data
|\
| |--00000.txt
| |--00000.midi
| |--00001.txt
| |--00001.midi
| |--...
|
|--metadata.csv
```
`metadata.csv` contains one row per record with the following columns:
| Column | Type | Description | Example |
|---|---|---|---|
| `file_name` | string | MIDI file name (relative to `data/`) | `00042.mid` |
| `prompt` | string | Natural-language description of the music | `A jazz piece in C major ...` |
| `duration_seconds` | float | Approximate duration in seconds | `12.5` |
| `genre` | string | Musical genre (one of 7 templates) | `jazz` |
| `tempo` | int | Tempo in BPM | `120` |
| `key` | string | Key and scale | `C major` |
| `time_signature` | string | Time signature | `4/4` |
| `instrument` | string | Primary instrument (General MIDI) | `Acoustic Grand Piano` |
| `has_bass` | bool | Whether a bass line is present | `True` |
| `complexity` | float | Average absolute pitch interval (0–12) | `2.34` |
| `note_hash` | string | MD5 hash of the melody (for deduplication) | `a1b2c3...` |
| `split` | string | Dataset split: `train`, `validation`, or `test` | `train` |
Example row:
```csv
file_name,prompt,duration_seconds,genre,tempo,key,time_signature,instrument,has_bass,complexity,note_hash,split
00042.mid,"A jazz piece in C major ...",12.5,jazz,120,C major,4/4,Acoustic Grand Piano,True,2.34,a1b2c3...,train
```