SDL-Mixer-X icon indicating copy to clipboard operation
SDL-Mixer-X copied to clipboard

Problems with modules playback.

Open system64MC opened this issue 6 months ago • 15 comments

Hi. I encountered some problems with tracker modules playback.

The first one is lowpass filter sounding different if the sample rate is under 50kHz or above 50kHz. You can try playing the goddess.mptm through OpenMPT and SDL-Mixer-X. Try with 44100Hz to notice the problem. Note that if I comment "include(music_xmp)" in the CMakeLists.txt, that fixes the issue. So this is likely a problem with libxmp.

The second one is the playback speed. With the magica.mptm module, it goes faster than expected at some point (you also can compare with OpenMPT)

The third problem is the OPL3 not working. You can try with the th06_04.mptm module.

Possible solution : Maybe using libOpenMpt for module playback would solve the problem? Or letting the user choosing between libopenmpt, libxmp or libmodplug?

Here are the test files : Archive.zip

system64MC avatar Aug 05 '24 14:08 system64MC