A vocal piece with a substituted text, for example sacred instead of secular, or vice-versa. A number of early Lutheran chorales are contrafacta.