Hello everybody!
I would like to use IT- or XM- module playback in game development. But I am a little confused.
From what I've read a big advantage of using mod files for game music is that they are kind of interactive, channels can be muted and unmuted etc.
I played around with
SharpMik in Unity3D a bit - and muting/unmuting and setting the song position is working fine

But I also read that there is this concept of "
subsongs", parts of the module that use Bxx Jump-to-order commands. From what I understand the sections are told to loop until further notice and then can jump to a different subsong on demand. This would allow having reactive music via modules in the game which would be super cool!
The looping via Bxx is working fine - but how can I jump to another subsong right on time? Setting the song position from the game code works but is not very tight, since the exact time of the command depends on the current framerate of the game loop. I think the best way would be to set a new jump command on the last beat and leave the timing to the player - if that is possible at all

So I am a bit confused: is it possible to change the effects of a module after it has been loaded by the player? With a library like libopenmpt can I set the Bxx-effect on the last step of a subsong to jump to a different order while it is already playing the module?
Maybe I am misunderstanding the concept. Any help or hints are very appreciated!