Public domain music library
from the maker of Keynata

Keynata Commons

Free music, made by machines, owned by no one.

Every track here is dedicated to the public domain under CC0.

Download, remix, release, sell — no credit required, no strings attached.

Tracks
—
License
CC0 1.0
Formats
MP3 · MIDI · JSON

Tracks

Nothing here that fits? Request a track — pick a category, the nightly generator makes it first, and it ships with the next release.

Loading the library…

    Preview playback streams the MP3. Synth plays the MIDI file through a synthesizer running in your browser — the first Synth press downloads the instruments (about 35 MB, once per visit), after which every track starts instantly. Downloads give you the full-quality WAV and the MIDI file.

    About

    Keynata Commons is the open music library from the maker of Keynata, the piano typing game. Prefer to just listen? Tune in to Keynata Radio. All tracks are composed by a rule-and-statistics music engine built from scratch — no neural networks, no training on copyrighted recordings. The engine learns broad stylistic statistics from public-domain scores and openly licensed data, writes music theory into explicit, sourced rules, and generates every piece deterministically from a random seed.

    New tracks are added in batches. Each release includes WAV audio, the MIDI file, and full generation metadata, so you can see exactly how each piece was made.

    License

    Everything here is CC0 1.0 — a public domain dedication.

    Copy, modify, distribute, and perform the tracks, even commercially, without asking permission or giving credit. Attribution is appreciated but never required. Read the full dedication at creativecommons.org/publicdomain/zero/1.0/.

    Attribution

    The drum engine was trained on the Groove MIDI Dataset (Magenta, Google), licensed under CC BY 4.0. Melodic and harmonic engines use only public-domain scores (original works from the PDMX dataset) and music theory written down from published, cited sources. This attribution is ours to make — it does not restrict your use of the tracks.

    Audio rendering and in-browser playback use redistributed third-party components: the SpessaSynth synthesis library (Apache 2.0) and two instrument banks — GeneralUser GS by S. Christian Collins and the public-domain 040 Florestan String Quartet. Their licenses are reproduced in full in LICENSE-3RD-PARTY.md. None of them place any condition on your use of the tracks.

    How we keep it clean

    1. No copyrighted works go in.

      Style rules come from music theory and published common knowledge, each with a written source, kept in an audited ledger. Statistical models use only public-domain original scores and CC-licensed data.

    2. Similarity screening before release.

      Every track is checked against the training corpus for distinctive matching passages. Tracks that share any rare passage with a specific corpus piece are rejected and never published.

    3. No imitation objective.

      The engine has no mechanism that targets any specific song or artist.

    4. Honest limits.

      Coincidental resemblance to some existing melody can never be ruled out completely; screening reduces the risk, it does not eliminate it. This page describes our process and is not legal advice.

    5. Takedown policy.

      If you believe a track reproduces protected material despite the process above, open an issue on the GitHub repository with the track ID and the work you believe is affected. We will investigate and remove the track while the question is open. Removed tracks stay removed.