GO:0050894: determination of affect
Any process in which an emotional response is associated with a particular sensory stimulation.