Request a sample

Guides · checked 2 Nov 2026

MIDI datasets and what their licences allow

MIDI looks like the safe modality: no recording, just notes. The licence on a collection says nothing about the songs inside it. Here is each MIDI dataset, where its files came from, its licence and whether a commercial model may train on it, read from the dataset's own page on 2 Nov 2026.

DatasetHoldsLicenceCommercial training
Lakh MIDI176,581 MIDI files scraped from the web, no audio; 45,129 matched to the Million Song DatasetCC BY 4.0 on the collectionYes collection only; the songs are not cleared
MAESTRO1,276 piano performances, 198.7 h, audio aligned with MIDI from a competitionCC BY-NC-SA 4.0No
Groove MIDI Dataset1,150 MIDI files, 13.6 h of drumming played by drummers on an electronic kit, with synthesized audioCC BY 4.0Yes
E-GMD45,537 drum performances, 444 h, Groove MIDI re-recorded through 43 drum kitsCC BY 4.0Yes
Slakh21002,100 songs: Lakh MIDI rendered with sample libraries, 145 h of stems aligned to the MIDICC BY 4.0Yes synthetic renders
GiantMIDI-Piano10,855 piano pieces by 2,786 composers, transcribed by a model from recordings downloaded from YouTubeCC BY 4.0 stated; the recordings carry their own rightsNot stated transcribed from recordings
Aria-MIDI1,186,253 MIDI files, about 100,629 h, transcribed by a model from public solo-piano recordingsCC BY-NC-SA 4.0, with a disclaimer to acceptNo
GigaMIDIOver 1.4 million MIDI files, 1.8 billion notes, collected from the webNon-commercial research or education only, under the fair-dealing provisions of the Canadian Copyright ActNo
MetaMIDI Dataset436,631 MIDI files scraped from two sites, 237,236 matched to 30-second audio clipsNo licence; access on application, no redistributionNo
Los Angeles MIDI DatasetAbout 405,000 MIDI files from a web scrape, de-duplicated, with chord dataCC BY-NC-SA 4.0No
POP909909 pop songs as piano arrangements in MIDI: melody, sub-melody and accompaniment, with beat, chord and key annotationsMIT on the repository; the songs are copyrighted pop songsNot stated arrangements of copyrighted songs
PDMXOver 250,000 public-domain MusicXML scores collected from MuseScoreMIT on the repository; each score under the licence its uploader set, conflicts flaggedPer track use the no-conflict subset
NES-MDB5,278 songs from the soundtracks of 397 NES games as MIDI and score formatsMIT on the repository; the game music is copyrightedNot stated copyrighted game music
NottinghamAbout 1,000 folk tunes from the Nottingham Music Database as ABC and MIDIGPL-3.0 on the repositoryYes traditional tunes; GPL terms on the files
ADL Piano MIDI11,086 piano MIDI files: the piano tracks of Lakh plus about 2,000 scraped files, sorted by genreNone statedNot stated
JSB ChoralesBach chorales as pitch sequences at three time resolutions, with the usual splitsNone stated; the chorales are public domainNot stated no licence stated

Each name links to the page the line was read from. Licences change and pages move. Check the source before you rely on a line, and tell us at mikas@ximaudio.com if one is out of date.

The pattern

Three kinds of MIDI dataset exist. Played for the dataset: Groove and E-GMD were recorded by drummers on an electronic kit for the purpose, and their CC BY 4.0 covers everything in them. Rendered or public domain: Slakh renders Lakh files with sample libraries, PDMX and Nottingham hold scores whose rights have lapsed or were given, and the licence is as clean as the subset you pick. Collected from the web: Lakh, MetaMIDI, GigaMIDI, the Los Angeles set and ADL were scraped, and whatever label the collection carries, the songs inside keep their copyright. The Canadian sets say so themselves and limit use to research. A transcription inherits the rights of the recording it was transcribed from, which is why GiantMIDI-Piano reads as unclear and Aria-MIDI is non-commercial.

A permissive label on a scraped collection is a label on the folder, not on the music. A diligence team reads it that way.

What MIDI from the session adds

A scraped file is a transcription of a finished song by someone unknown, with General MIDI program numbers for instruments. MIDI from the session is what the producer played or programmed: the chords, the bassline, the lead and the drums as separate clips, each tied to the instrument and preset that sounded it, with the lane name, the tempo and the key of the song. Next to the printed lane, it is the note data and the audio of one performance, aligned by construction.

What XIM Audio holds

287,917 MIDI files in 1,627 packs and sessions, each file tagged with its source and tempo where known, measured 4 Nov 2026. From sold MIDI packs and from sessions, under terms that name machine learning. 3,571 songs come as paired sets: the MIDI the session played next to every lane printed from it. Modern music made in the DAW, pop to trance. Compositions and lyrics stay out of scope, and no file carries a song title or an artist name. See the MIDI set.

A few packs, and one session's MIDI next to its lanes. Ask for an evaluation set, or write to mikas@ximaudio.com. Our standard licence is public.