The principle that a single piece of music should project one unified emotion is called the Doctrine of Affections (or Affektenlehre).