Like a plainchant from liturgical music, a cantus firmus is a pre-existing melody that forms the basis for a polyphonic composition…