What is the art of forming melody; melody; -- now often used for a melodic passage, rather than a complete melody called?

melopoeia — The art of forming melody; melody; -- now often used for a melodic passage, rather than a complete melody. (Webster's 1913.)

Sources