I’d like to use Sonic Pi to create music for a video game.The idea is to have events in the video game trigger events in Sonic Pi. Example: every time a player in the game jumps, a sample in sonic pi will play. Or if the game becomes more intense, then some code in Sonic Pi would be triggered and the music would speed up.
Is this possible to do? A game developer has asked me if Sonic Pi can run in the background of their game and if you can trigger Sonic Pi code with specific events that happen in the game.
And can sonic pi be built into a video game?