Several studies have shown that production of serotonin is elevated in the brain when a person is engrossed in the music. It's a sleep inducing hormone, that also acts as an anti-depressant. Secretion of serotonin takes place when your brain is exposed to positive shock, like music, poetry, movies, etc.