How do you create music to your website?

I tried to do it on one of my webpage and it worked fine but when I click to the next page, the music stops. How do i create the music flow throughout the whole website consistently without it stopping or repeating it from the beginning. Also, is it possible to create a preference button to stop the music ?

I’ll appreciate any advise on this.

Thanks, everyone.