The recognition and understanding of pitch and tone are mainly handled by the auditory cortex. This part of the brain also does a lot of the work to analyze a song's melody and harmony. Some research shows that the cerebellum and prefontal cortex contribute, too.