Start your game by playing music, but if an event happens, where the game is restarted, the music continues to play without interruptions and without duplication.
If you decide to deactivate the music on your
game, when the music is restarted it will continue to be disabled.