Musician here; good catch! The electronic instruments and percussion fade in when enemies get close by and fade out once they’ve been defeated.
Glad to hear you enjoyed the game!