S-Mod Studio is an engine for creating a living soundtrack that reacts to your puzzle gameplay in real time. You set up your music in layers by making three variations of the first section, each leading into three variations of the next section, and continuing as far as you like so the track can build and shift naturally. By linking the main variable to events in your game, you can control which version plays based on progress, actions, or any game event, keeping everything synced while letting the music smoothly change mood and intensity as players interact with your game.
An example track is already inside the project. To make your own, replace the audio accordingly. You can also make extra layers by duplicating a layer and changing scripts.