PHP is server side and is not a smart way to manage music.
You could use javascript and cookies to do this but it would be better just to use a frame that stays no matter which page is loaded.
But take it from someone who browses the net a lot - don't use music unless absolutely neccessary!!! Ask what it does for your site? Or is it a gimmic?