Dataset Viewer
Auto-converted to Parquet
midi_source
stringlengths
43
188
metadata_source
stringlengths
40
144
file_name
stringlengths
15
131
title
stringlengths
2
100
composer
stringlengths
1
44
year
float64
735
2.02k
era
stringclasses
8 values
style
stringclasses
11 values
key
stringclasses
31 values
license
stringclasses
7 values
midi
unknown
midi_mido
stringlengths
6.02k
24.7M
https://imslp.org/wiki/File:WIMA.ef9a-T_and_F_Org.mid
https://imslp.org/wiki/Toccata_and_Fugue_in_G_major_(Rondeau,_Michel)
WIMA.ef9a-T_and_F_Org.mid
Toccata and Fugue in G major
Rondeau, Michel
null
Modern
Classical
G major
cc-by-3.0
"TVRoZAAAAAYAAQACBABNVHJrAAAHnAD/WAQGAyQIAP9ZAgEAAP9RAwknwIwA/1EDCSfAggD/UQMJJ8CCAP9RAwknwIIA/1EDCSf(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"t(...TRUNCATED)
https://imslp.org/wiki/File:PMLP1174808-Sonata_IV.mid
https://imslp.org/wiki/6_Harpsichord_Sonatas,_Op.1_(Coccia,_Maria_Rosa)
PMLP1174808-Sonata_IV.mid
6 Harpsichord Sonatas, Op.1
Coccia, Maria Rosa
1,772
Classical
Classical
C major
cc-by-nc-sa-4.0
"TVRoZAAAAAYAAQADAMBNVHJrAAAAkgD/AwpTb25hdGEgSVYuAP8CHU1hcmlhIFJvc2EgQ29jY2lhICgxNzU5LTE4MzMpAP8BIE9(...TRUNCATED)
"{\"ticks_per_beat\": 192, \"type\": 1, \"tracks\": [{\"name\": \"Sonata IV.\", \"messages\": [{\"ty(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.6d65-PezR4Sco.mid
https://imslp.org/wiki/Intrada,_WP_6.04_(Pezel,_Johann_Christoph)
WIMA.6d65-PezR4Sco.mid
Intrada, WP 6.04
Pezel, Johann Christoph
1,685
Baroque
Baroque
C major
cc-by-nc-4.0
"TVRoZAAAAAYAAQAGBABNVHJrAAABCgD/VAUAAAAAAAD/WAQEAhgIAP9ZAv4AAP9RAwehHwD/UQMJoxkA/1EDCaOigeAA/1EDCaM(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP718020-I%27ll_Dream_of_Thee_No_More.mid
https://imslp.org/wiki/I%27ll_Dream_of_Thee_No_More_(Thomas,_John_Rogers)
PMLP718020-I'll_Dream_of_Thee_No_More.mid
I'll Dream of Thee No More
Thomas, John Rogers
1,857
Romantic
Romantic
B-flat major
cc-by-4.0
"TVRoZAAAAAYAAQAEBABNVHJrAAAHxgD/VAVgAAAAAAD/WAQBAhgIAP9ZAv4AAP9RAw+EewD/UQMPiCiIAP9YBAMCSAikAP9RAw+(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP18737-GOTTSCHALK_Sospiro.mid
https://imslp.org/wiki/Sospiro,_Op.24_(Gottschalk,_Louis_Moreau)
PMLP18737-GOTTSCHALK_Sospiro.mid
Sospiro, Op.24
Gottschalk, Louis Moreau
null
Romantic
Romantic
D-flat major
null
"TVRoZAAAAAYAAQAJAMBNVHJrAAAASAD/fyAAN3ECQQJBAAAMAAABW0AAAAAAAAAAAAAAAAAAAAAAAAD/UQMEk+AA/1gEAwIYCOw(...TRUNCATED)
"{\"ticks_per_beat\": 192, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"se(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.a4bf-lasmot45kop.mid
https://imslp.org/wiki/Diligam_te,_Domine,_LV_618_(Lassus,_Orlande_de)
WIMA.a4bf-lasmot45kop.mid
Diligam te, Domine, LV 618
Lassus, Orlande de
1,575
Renaissance
Renaissance
null
cc-by-nc-sa-3.0
"TVRoZAAAAAYAAQACAPBNVHJrAAAAEwD/WAQEAcAIAP9RAwPQkAD/LwBNVHJrAAAQeADABgCQQFCJAIBAQIIgkEFQgwCAQUBgkEN(...TRUNCATED)
"{\"ticks_per_beat\": 240, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"ti(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.3532-AlS1(IV)Sco.mid
https://imslp.org/wiki/Violin_Sonata_in_D_minor,_T.So_26_(Albinoni,_Tomaso)
WIMA.3532-AlS1(IV)Sco.mid
Violin Sonata in D minor, T.So 26
Albinoni, Tomaso
1,708
Baroque
Baroque
D minor
null
"TVRoZAAAAAYAAQAIBABNVHJrAAAAQgD/VAUAAAAAAAD/WAQGAkgIAP9ZAv8AAP9RAwUWFQD/UQMFFhYA/1EDBRYVhoAA/1EDBRY(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.7357-bibrepr_m.mid
https://imslp.org/wiki/Sonata_violino_solo_representativa_(Biber,_Heinrich_Ignaz_Franz_von)
WIMA.7357-bibrepr_m.mid
Sonata violino solo representativa
Biber, Heinrich Ignaz Franz von
1,669
Baroque
Baroque
null
cc-by-nc-sa-3.0
"TVRoZAAAAAYAAQAEAPBNVHJrAAAA/AD/ASNiaWJyZXByX20ubWlkLCBwcm9kdWNlZCBieSBQTVggMi4zMAD/WQIDAAD/WAQEAhg(...TRUNCATED)
"{\"ticks_per_beat\": 240, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"te(...TRUNCATED)
https://imslp.org/wiki/File:WIMA.6955-PezR57Sco.mid
https://imslp.org/wiki/F%C3%BCnff-stimmigte_blasende_Music,_No.57_(Pezel,_Johann_Christoph)
WIMA.6955-PezR57Sco.mid
Fünff-stimmigte blasende Music, No.57
Pezel, Johann Christoph
null
Baroque
Baroque
null
cc-by-3.0
"TVRoZAAAAAYAAQAGBABNVHJrAAAA5AD/VAVgAAAAAAD/WAQEAhgIAP9ZAgAAAP9RAwehHwD/UQMIUq4A/1EDCFMQoAD/UQMIUxC(...TRUNCATED)
"{\"ticks_per_beat\": 1024, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"s(...TRUNCATED)
https://imslp.org/wiki/File:PMLP529412-Murzillo_doce!.mid
https://imslp.org/wiki/Murzillo_doce!_(Scognamiglio,_Gaetano)
PMLP529412-Murzillo_doce!.mid
Murzillo doce!
Scognamiglio, Gaetano
1,888
Romantic
Romantic
C major
null
"TVRoZAAAAAYAAQADAeBNVHJrAAAFrwD/CA9NdXJ6aWxsbyBkb2NlIQAA/1gEAgIYCAD/WQIAAAD/UQMKZ1oAwDQCsAdkAgpAAls(...TRUNCATED)
"{\"ticks_per_beat\": 480, \"type\": 1, \"tracks\": [{\"name\": \"\", \"messages\": [{\"type\": \"un(...TRUNCATED)
End of preview. Expand in Data Studio

IMSLP MIDI Dataset (CC-BY-NC-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 information.

Statistics & Visualizations

  • Total entries: 7586
  • Unique composers: 1388
  • Eras: Romantic (2729), Baroque (1902), Renaissance (1319), Modern (944), Classical (463), Other (118), Early 20th century (94), Medieval (17)
  • Styles: Romantic (2736), Baroque (2033), Renaissance (1368), Modern (720), Classical (462), Early 20th century (184), Traditional (35), Medieval (22), Jazz (15), 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-nc-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.

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

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

Downloads last month
176

Collection including TiMauzi/imslp-midi-by-nc-sa