The function of music in music therapy