Music can make us feel something before we have consciously decided what we are feeling.

A melody can remind us of a person. A particular rhythm can make us want to move. A chord progression can create tension and then give us a sense of release.

But what exactly is happening between the sound reaching our ears and the experience we call an emotion?

Expectation

One important part of musical experience is expectation. As we listen, our mind is constantly making predictions about what might happen next.

When a musical event confirms, delays or violates those expectations, the experience can become particularly interesting.

Memory

Music is also deeply connected with memory. A song can become associated with a particular person, place or period of life.

Years later, hearing the same piece can bring back aspects of that experience with surprising intensity.

Attention

Music also directs attention. We can focus on melody, rhythm, harmony, timbre or even the words of a song.

The same piece can therefore be experienced differently depending on what we are listening for.

There isn't one simple answer

The emotional experience of music is not produced by a single mechanism. Expectation, memory, attention, context and personal experience can all interact.

Perhaps that is part of what makes music so fascinating: something physically simple — organised sound through time — can become an intensely personal experience.