About Canon in D
Canon in D is one of the most beloved public-domain melodies available to play online. Pachelbel's Canon in D major is one of the most performed pieces of Baroque music. Composed around 1680 by Johann Pachelbel, it was originally scored for three violins and basso continuo. The piece was largely forgotten for centuries until a 1968 recording by the Jean-François Paillard chamber orchestra brought it to mainstream attention. Today it is a staple at weddings, graduations, and ceremonies worldwide.
As a public-domain composition, Canon in D can be freely performed, arranged, and studied by musicians of all levels. The melody has endured for generations because of its memorable contour and emotional resonance.
Musical structure and analysis
This arrangement is written in D major at 90 BPM. The piece is built on a ground bass — a two-bar repeating bass line (D–A–B–F♯–G–D–G–A) that cycles throughout the entire composition. Over this ostinato the three violin voices enter in canon, each two beats behind the last. This demo plays the first violin's canon line: sixteen half notes that descend from F♯5 to A4, rise back to D5, then fall to E4 — the melody most listeners recognise as the Canon.
Difficulty level and practice tips
Beginner to intermediate. The melody itself uses simple quarter and eighth notes in D major. The challenge lies in coordinating multiple voices if playing the full arrangement. For single-line melody players, the tune is very accessible.
Learn the descending half-note line first — it is the foundation of the entire piece. Each note lasts two beats, so the challenge is even tone rather than speed. Once the line is automatic, try singing the ground bass (D–A–B–F♯–G–D–G–A) underneath it. The repeating pattern means you can loop any four-note group with the A/B feature to build muscle memory.
Did you know?
Despite its fame today, Pachelbel's Canon was not published during his lifetime. The only surviving manuscript was found in a Berlin library in the 19th century. The piece's modern popularity is largely credited to the 1968 Paillard recording, which sold millions of copies.
Play Canon in D in MIDI Player Online
The demo above plays the single-line MIDI arrangement of Canon in D — 16 notes in D major at 90 BPM, generated from the same melody.mid you can download. Use "Open in piano roll" to load it into the main Online MIDI Player for note-by-note visualization, adjustable tempo and A/B practice looping. Everything runs locally in your browser — no upload, no account, no install required. You can also browse our collection of 50 public-domain songs and the Public Domain MIDI. For the file itself: MIDI viewer, online MIDI keyboard, MIDI to piano sheet — all in the browser, nothing uploaded.
Frequently asked questions
Can I play Canon in D online in my browser?
Yes. Use the demo player above to hear this public-domain Baroque melody instantly, or drop your own MIDI file into the MIDI Player Online tool for full piano-roll playback, tempo control and A/B practice looping. Everything runs locally in your browser — no upload, account or install.
Who composed Canon in D?
Canon in D is Johann Pachelbel (Baroque). It is in the public domain, so it can be freely arranged, performed and used.
What key is Canon in D usually played in?
This arrangement is written in D major. The demo above uses that key so you can hear the melody as traditionally performed.
Is a MIDI file version of Canon in D available?
Yes — a free single-track .mid of the melody above is generated from the same note data the demo plays: 16 notes, D major, 90 BPM. "Open in piano roll" loads it into the main player, or download it and drop it into any DAW or sequencer.
Where can I get Canon in D MIDI for free?
Pachelbel's Canon in D (c. 1680) is in the public domain, and you can hear our simplified arrangement right here — free, with no download, account or install. For the full multi-track experience, drop any Canon in D MIDI file you own into the main player.