I have added the volume slider to play_controler. In doing so I have made the curAudio variable originally in music_player a global variable to make the connection work.