I am a music lover so it is definitely both for me. I have many playlists on You Tube for my moods. :)
Examples are love, sentimental, grief, nostalgic, rock, classical, and specific artists. I listened to Pink Floyd a couple of days ago because I was perplexed about life and that music seems to go with my mood. lol~ Moody Blues are another one for that kind of mood.
Then there is the music that triggers emotions and events when I hear it. A love song may jet me back to a time of dating that special someone. The Chipmunks Christmas songs reminds me of my girls when they were young and had to listen to them every night before Christmas. :) They love the music even today in their 30's. Silent night takes me back to a childhood of mystical wonder at the birth of my Savior and the love I've always felt from that song.
So, music does both for me and I'm so glad we have music!