Source: https://gamedevelopment.tutsplus.com/tutorials/take-your-games-immersion-to-the-next-level-with-responsive-game-music--gamedev-7221