Some general info is on Wikipedia (Static binary translation).
I do not know anything about static recompiling, would it be possible to give a short explanation ? Would it be possible to use this technique for another great BlueByte game ? *cough* Archemdian Dynasty (Schleichfahrt) *cough*
At first look it is possible to use this technique on Archimedean Dynasty, but I wouldn't count on me doing it.
That's not possible.
It sounds like you using the music api of sdlmixer, can you load Midi into chunks? If you might be able to play all of the midi.
As to liking SLD_mixer, I don't know any alternative - a library, that I just tell to play a midi file (in memory) and a bunch of raw sound samples with some settings for each sample (volume, panning) and the library mixes it all together and plays it.
I checked it and it's the same as in Dosbox. So the original game has the sound swapped.
BTW: Sound has L/R swapped.
I'll add an option to swap L/R, defaulted to yes.
It's possible (in theory), but not easy. It's a matter of playing a midi file in either a OPL3 emulator or using OPL3 compatible soundfont.
I just notice or remember something: Actually I am a big fan of the original Soundblaster-sound also known by the terms Adlib/OPL3/YMF262 (see Wikipedia:Adlib). I thought about this when i was asked which timidity-patch i want to install (small set/freepats/eawpats). It's been a while since i have been into reproduction of the music of old dos-games, but if i'm not mistaken, then the OPL3-sound is not being done by Timidity at all, right?
If this is right, then: Is there a way to implement the OPL3-Sound into your port? I know this topic will cause some controversy. Some people think the GUS or Roland or whatever Midi-Sounds sound better. But with most games i don't. One reason is that i am simply used to this sound (for example in Doom), another is that (i think) that many games simply were composed for OPL3. For me the other sound don't fit in there 100% - the samples sound way more realistic then the notes play them. I can compare this to a high resolution game with high resolution textures but a very low polygon-count. Well, i am getting off-topic again.....
Edit: Maybe i mean OPL2...so many different systems :/