In short, I made a real-time music engine that generates music for a pervasive game, and streams it to mobile devices used by the players of the game. This engine takes into account the state of each player in the game (her location, her proximity to vilains, her health, etc.) and generats music correspondingly. I also composed the musical content that was integrated into the music engine. For more information see: