As you read this section, you, together with information relating to musical instruments, voices, different musical genres, forms, etc., know what the mood, tone, gamma; what are the intervals and chords that such alteration, as is the musical score.
All this information is included in an academic course called fundamentals of music theory. It started teaching in a music school, a detailed study in the College of music.