updated sound and music handling