Dataset Viewer
Auto-converted to Parquet
midi_source
stringlengths
44
188
metadata_source
stringlengths
40
144
file_name
stringlengths
16
155
title
stringlengths
4
100
composer
stringlengths
1
44
year
float64
735
2.02k
era
stringclasses
8 values
style
stringclasses
11 values
key
stringclasses
32 values
license
stringclasses
5 values
midi
unknown
midi_mido
stringlengths
6.02k
24.7M
https://imslp.org/wiki/File:PMLP596911-CL_Courante_M_M_Wustrow_from_Terpsichore_Michael_Praetorius_1612.mid
https://imslp.org/wiki/Courante_de_M.M._W%C3%BCstrow,_TMA_150_(Praetorius,_Michael)
PMLP596911-CL_Courante_M_M_Wustrow_from_Terpsichore_Michael_Praetorius_1612.mid
Courante de M.M. Wüstrow, TMA 150
Praetorius, Michael
1,612
Renaissance
Renaissance
null
cc-by-4.0
"TVRoZAAAAAYAAQAEAeBNVHJrAAAKJQD/WAQGAhgIAP9ZAv8AAP9RAwehIACwZAAAZQAABgwAZAEAZQAABkAAZH8AZX8AwEoAsAd(...TRUNCATED)
"{\"ticks_per_beat\": 480, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"ti(...TRUNCATED)
https://imslp.org/wiki/File:PMLP886626-Kerckhoven_W_135_Fantasia_G.mid
https://imslp.org/wiki/Fantasia_in_G_major,_W.135_(Kerckhoven,_Abraham_van_den)
PMLP886626-Kerckhoven_W_135_Fantasia_G.mid
Fantasia in G major, W.135
Kerckhoven, Abraham van den
1,933
Baroque
Baroque
G major
cc-by-sa-4.0
"TVRoZAAAAAYAAQADBABNVHJrAAAAiwD/VAUAAAAAAAD/WAQCAhgIAP9ZAgEAAP9RAwy3MgD/UQMMuVaQAP9YBAQCGAiJ4AD/WAQ(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP594751-CXIX_Courante_from_Terpsichore_Michael_Praetorius_1612.mid
https://imslp.org/wiki/Courante,_TMA_119_(Praetorius,_Michael)
PMLP594751-CXIX_Courante_from_Terpsichore_Michael_Praetorius_1612.mid
Courante, TMA 119
Praetorius, Michael
1,612
Renaissance
Renaissance
null
cc-by-4.0
"TVRoZAAAAAYAAQAEAeBNVHJrAAAC8QD/WAQGAhgIAP9ZAgAAAP9ZAgAAAP9ZAgAAAP9RAwehIACwZAAAZQAABgwAZAEAZQAABkA(...TRUNCATED)
"{\"ticks_per_beat\": 480, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"ti(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.4fda-bonjour.mid
https://imslp.org/wiki/Bonjour_mon_coeur,_LV_167_(Lassus,_Orlande_de)
WIMA.4fda-bonjour.mid
Bonjour mon coeur, LV 167
Lassus, Orlande de
1,564
Renaissance
Renaissance
null
null
"TVRoZAAAAAYAAQAFAeBNVHJrAAAAUQD/AxFCb25qb3VyIG1vbiBjb2V1cgD/Ah+pIGNhcGVsbGEtUGxheWVyIEVuZ2luZSBieSB(...TRUNCATED)
"{\"ticks_per_beat\": 480, \"type\": 1, \"tracks\": [{\"name\": \"Bonjour mon coeur\", \"messages\":(...TRUNCATED)
https://imslp.org/wiki/File:PMLP629753-Stay_Home_with_Me_To-Night,_Tom.mid
https://imslp.org/wiki/Stay_Home_with_Me_To-Night_Tom_(Tucker,_Henry_L.)
PMLP629753-Stay_Home_with_Me_To-Night,_Tom.mid
Stay Home with Me To-Night Tom
Tucker, Henry L.
1,870
Romantic
Romantic
F major
cc-by-4.0
"TVRoZAAAAAYAAQAHBABNVHJrAAABJgD/VAUAAAAAAAD/WAQBAwwIAP9ZAv8AAP9RAwosLQD/UQMKLC2EAP9YBAYDJAiBqAD/WAQ(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP624788-Our_Own_Robbie_Burns.mid
https://imslp.org/wiki/Our_Own_Robbie_Burns_(Tucker,_Henry_L.)
PMLP624788-Our_Own_Robbie_Burns.mid
Our Own Robbie Burns
Tucker, Henry L.
1,811
Romantic
Romantic
C major
cc-by-4.0
"TVRoZAAAAAYAAQAHBABNVHJrAAABPQD/VAUAAAAAAAD/WAQBAhgIAP9ZAgAAAP9RAwosLQD/UQMKLC2IAP9YBAMCGAiBqAD/WAQ(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.6ee4-adte.mid
https://imslp.org/wiki/Tabulaturen_etlicher_Lobgesang_(Schlick,_Arnolt)
WIMA.6ee4-adte.mid
Tabulaturen etlicher Lobgesang
Schlick, Arnolt
1,512
Renaissance
Renaissance
null
cc-by-4.0
"TVRoZAAAAAYAAQAEAYBNVHJrAAAAUwD/Aw1jb250cm9sIHRyYWNrAP8BCWNyZWF0b3I6IAD/AR5HTlUgTGlseVBvbmQgMi4xMS4(...TRUNCATED)
"{\"ticks_per_beat\": 384, \"type\": 1, \"tracks\": [{\"name\": \"control track\", \"messages\": [{\(...TRUNCATED)
https://imslp.org/wiki/File:PMLP745582-O_K_Gallopade.mid
https://imslp.org/wiki/O_K_Gallopade_(Hewitt,_John_Hill)
PMLP745582-O_K_Gallopade.mid
O K Gallopade
Hewitt, John Hill
1,840
Romantic
Romantic
F major
cc-by-4.0
"TVRoZAAAAAYAAQADBABNVHJrAAAKMAD/VAUAAAAAAAD/WAQBATAIAP9ZAv8AAP9RAwehHwD/UQMHoSOYAP9RAwehI23/UQMHqcJ(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP765655-Sweet_Kitty_Neal.mid
https://imslp.org/wiki/Sweet_Kitty_Neal_(Hewitt,_John_Hill)
PMLP765655-Sweet_Kitty_Neal.mid
Sweet Kitty Neal
Hewitt, John Hill
1,810
Romantic
Romantic
A major
cc-by-4.0
"TVRoZAAAAAYAAQAEBABNVHJrAAAETgD/VAVgAAAAAAD/WAQBAwwIAP9ZAgMAAP9RAwtxtAD/UQMLcm2CAP9RAwtybYIA/1gEBgM(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP1208381-Golden_Grain_Was_Waving.mid
https://imslp.org/wiki/The_Golden_Grain_Was_Waving_(Sayles,_James_Mason)
PMLP1208381-Golden_Grain_Was_Waving.mid
The Golden Grain Was Waving
Sayles, James Mason
1,875
Romantic
Romantic
D-flat major
cc-by-4.0
"TVRoZAAAAAYAAQAHBABNVHJrAAAF+QD/VAUAAAAAAAD/WAQGAkgIAP9ZAvsAAP9RAwiYtQD/UQMImXOBkAD/UQMImXOHLP9RAwj(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
End of preview. Expand in Data Studio

IMSLP MIDI Dataset (CC-BY-SA-4.0)

This dataset contains MIDI files and metadata crawled from IMSLP (International Music Score Library Project) on July 21-22, 2024.

Data Fields

  • midi_source: URL to the original MIDI file on IMSLP (incl. original uploader).
  • metadata_source: URL to the original metadata on IMSLP.
  • file_name, title, composer, year, era, style, key, license: Metadata fields.
  • midi: Raw MIDI bytes.
  • midi_mido: JSON-serialized mido object.

How to Retrieve Origin Data and Authors

  • For each entry, use midi_source to find the original MIDI file and metadata_source for the metadata/author information.

Statistics & Visualizations

  • Total entries: 6992
  • Unique composers: 1169
  • Eras: Romantic (2722), Baroque (1874), Renaissance (843), Modern (763), Classical (597), Early 20th century (125), Other (63), Medieval (5)
  • Styles: Romantic (2747), Baroque (2020), Renaissance (867), Classical (537), Modern (524), Early 20th century (235), Traditional (27), Jazz (16), Medieval (8), Ancient (8), Non-western classical (3)

Top 10 Composers

Era Distribution

Style Distribution

Year Distribution

How to Use

from datasets import load_dataset
dataset = load_dataset('TiMauzi/imslp-midi-by-sa')

The data in the column midi are raw bytes. You may want to use packages like mido to analyze them. For example, to view the content of the first MIDI file, you can use a script as follows:

import mido
import io

train_data = dataset['train']  # assuming you already loaded the dataset as described

# Take the first example
midi_bytes = train_data[0]['midi']  # this is raw bytes

# Load with mido
midi_file = mido.MidiFile(file=io.BytesIO(midi_bytes))

# Inspect tracks and messages
for i, track in enumerate(midi_file.tracks):
    print(f"Track {i}: {track.name}")
    for msg in track[:10]:  # print first 10 messages
        print(msg)

License Merging

While most files in IMSLP are stored as public domain or open source, different and sometimes incompatible licensing agreements exacerbate the conflation of individual pieces into a single data collection. While there are several customized licenses for some of the MIDI files, some of the crawled and observed data were purely from the public domain globally, whereas the vast majority of all MIDI files make use of Creative Commons (CC) agreements. The latter may be combined under specific circumstances: For example, CC-BY-licensed pieces may be remixed with CC-BY-SA- and CC-BY-NC-licensed pieces into a CC-BY-SA or CC-BY-NC remix, respectively. Furthermore, CC-BY-NC-licensed pieces or remixes may again be remixed using the CC-BY-NC-SA license. Finally, ShareAlike (SA) licenses CC-BY-SA and CC-BY-NC-SA of version 3.0 are upgradable to those of version 4.0. Since the compatibility of all other, mostly custom licenses, remains ambiguous, they have been dropped.

While most files in IMSLP are stored as public domain or open source, different and sometimes incompatible licensing agreements exacerbate the conflation of individual pieces into a single data collection. While there are several customized licenses for some of the MIDI files, some of the crawled and observed data were purely from the public domain globally, whereas the vast majority of all MIDI files make use of Creative Commons (CC) agreements. The latter may be combined under specific circumstances: For example, CC-BY-licensed pieces may be remixed with CC-BY-SA- and CC-BY-NC-licensed pieces into a CC-BY-SA or CC-BY-NC remix, respectively. Furthermore, CC-BY-NC-licensed pieces or remixes may again be remixed using the CC-BY-NC-SA license. Finally, ShareAlike (SA) licenses CC-BY-SA and CC-BY-NC-SA of version 3.0 are upgradable to those of version 4.0. Since the compatibility of all other, mostly custom licenses, remains ambiguous, they have been dropped.

This specific dataset contains data that can be remixed as CC-BY-SA-4.0. For other versions, please check out TiMauzi/imslp-midi-by-nc-sa or TiMauzi/imslp-midi-cc0-1.0.

In case of any copyright issues or concerns, feel free to contact me, so I can take this dataset offline.

Downloads last month
199

Models trained or fine-tuned on TiMauzi/imslp-midi-by-sa

Collection including TiMauzi/imslp-midi-by-sa