What is the cantus firmus?

The cantus firmus is a term used in Western music, particularly during the Renaissance and Baroque periods. It refers to a fixed melody or theme that serves as the foundation for a composition. The term "cantus firmus" translates to "fixed song" or "fixed melody" in Latin.

In practice, the cantus firmus is usually a pre-existing melody derived from a Gregorian chant or another notable source. It often moves at a slower pace compared to the other melodic lines in a composition, which allows for the elaboration and development of surrounding voices.

Composers would often incorporate the cantus firmus into their compositions by using it as the basis for counterpoint, where they would create new melodies that intertwine with and complement the fixed melody. This technique provided structure and unity to the composition, while also showcasing the composer's harmonic and contrapuntal skills.