In music, a canon is a contrapuntal (counterpoint-based) compositional technique that employs a melody with one or more imitations of the melody played after a given duration (e.g., quarter rest, one measure, etc.). The initial melody is called the leader (or dux), while the imitative melody, which is played in a different voice, is called the follower (or comes). The follower must imitate the leader, either as an exact replication of its rhythms and intervals or some transformation thereof. Repeating canons in which all voices are musically identical are called rounds—"Row, Row, Row Your Boat" and "Frère Jacques" are popular examples.
An accompanied canon is a canon accompanied by one or more additional independent parts that do not imitate the melody.
During the Middle Ages, Renaissance, and Baroque—that is, through the early 18th century—any kind of imitative musical counterpoints were called fugues, with the strict imitation now known as canon qualified as fuga ligata, meaning "fettered fugue". Only in the 16th century did the word "canon" begin to be used to describe the strict, imitative texture created by such a procedure. The word is derived from the Greek "κανών", Latinised as canon, which means "law" or "norm". In contrapuntal usage, the word refers to the "rule" explaining the number of parts, places of entry, transposition, and so on, according to which one or more additional parts may be derived from a single written melodic line. This rule was usually given verbally, but could also be supplemented by special signs in the score, sometimes themselves called canoni. The earliest known non-religious canons are English rounds, a form first given the name rondellus by Walter Odington at the beginning of the 14th century; the best known is "Sumer is icumen in" (composed around 1250), called a rota ("wheel") in the manuscript source. The term "round" only first came to be used in English sources in the 16th century.
Canons featured in the music of the Italian Trecento and the 14th-century ars nova in France.