File size: 1,846 Bytes
54cf4d7
 
c4f2ef6
 
 
 
 
 
 
9113873
 
 
 
 
c4f2ef6
 
 
54cf4d7
c4f2ef6
 
 
 
 
 
 
 
 
cc90b06
 
 
 
34d58fc
 
 
 
 
 
 
 
cc90b06
 
c4f2ef6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
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
```