inversion: (counterpoint) a variation of a melody or part in which ascending intervals are replaced by descending intervals and vice versa
variation: a repetition of a musical theme in which it is modified or embellished