Change music during chase

I’m trying to make the music change whenever the player is being chased by “Demon”. The music being played normally is “CreepyMusic” and the chase one is called “HorrorChase”. Both are attached as 2D sounds to the player alongside an audio listener but I have no idea of how to alternate them. How could I do this?

Assuming you have a reference to each AudioSource (possibly set from the inspector), you can tell one to Stop and the other to Play:

//two AudioSource variables
defaultMusic.Stop();
chaseMusic.Play();

If you want to be fancy about it, you could “fade out” one track, or “fade in” the other, by setting their volume over multiple frames. Tweening libraries such as iTween can be very helpful for that.