I once dreamed an entire song about a woman I had recently moved in with. The song was very dark in content; the woman had led a terrible life and we had bonded over music, so this seemed like a very proper response to our relationship.
Are dreams a way to store our feelings in memory, using nonverbal symbols?
It might also be the opposite, that is, you are "storing" a feeling and your brain is building a visual (and in this case, auditory) story around the feeling. That's kind of art in a nutshell, isn't it?