View Issue Details

IDProjectCategoryView StatusLast Update
0001972OpenMPTlibopenmptpublic2026-05-27 11:55
Reporterradix Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformAllOSAllOS VersionAll
Product VersionOpenMPT 1.32.10.00 / libopenmpt 0.8.7 (current stable) 
Summary0001972: XM instrument rendered significantly quieter with libopenmpt than inside OpenMPT
Description

I noticed a specific instrument/note sounding much clearer/louder while playing in OpenMPT (Windows) than on a app (actually 2) using libopenmpt.
I have a website that plays mods, this issue occurs there, in any OS.
The global volume of the song seems similar but this particular instrument sounds different.
I already turned the world around but couldn't find the cause.

Steps To Reproduce
  • Download this mod (Essence of Life): https://modarchive.org/module.php?32612
  • Play it in OpenMPT
  • Instrument 9 (which uses sample 5) will sound very sharp and clear - it's a click sound on pattern 1, channels 7 and 8.
  • Play the same song via libopenmpt, this sound is dull/much quieter.
Additional Information

Maybe this is a known issue, or not even an issue, but I'd just like to know.
I marked as major - it's a deal breaker for my case but feel free to reclassify.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Relationships

related to 0000779 new Allow certain playback-related flags to be set as load-time ctl or during playback 

Activities

Saga Musix

Saga Musix

2026-05-25 20:49

administrator   ~0006678

libopenmpt by default enables extra-smooth volume ramping for XM files made with FastTracker 2 - the very same way as FT2 would play them. This effectively kills the attack of many samples, making them sound a bit duller and less sharp. OpenMPT does not enable extra-smooth volume ramping by default, but can be configured to behave the same way through the hidden setting Misc.SmoothFT2Ramping.

For libopenmpt, this setting can currently not be turned off.

radix

radix

2026-05-25 21:28

reporter   ~0006679

Thank you very much for the explanation. Is there a reason why you don't add the option to turn this setting off? When I open this song in Milkytracker or Schism, the mentioned instrument is also louder/crisper like in OpenMPT, so it seems libopenmpt is the one sounding different.

radix

radix

2026-05-25 22:23

reporter   ~0006680

btw I got it working on my fork, i.e. disabled kFT2VolumeRamping
If it makes sense, I can create a PR to allow callers to disable the FT2-extra-smooth volume ramping.

radix

radix

2026-05-26 10:20

reporter   ~0006681

I created this PR https://github.com/OpenMPT/openmpt/pull/34 so you can check when it's possible for you, but this might get out of my radar in a few days so I just leave it there now while it's fresh :)

Saga Musix

Saga Musix

2026-05-26 20:25

administrator   ~0006682

Thanks for the pull request. We will have to think about whether this is the correct approach though, please see the related issue for more information. This is by far not the only playback setting that we should expose, so choosing the wrong approach to do that now might just lead to more complications later.

radix

radix

2026-05-27 11:55

reporter   ~0006684

I agree that when you want to expose more flags, this need to be thought through. If you know which flags shall be exposed, I can also think and suggest a way to go.

Issue History

Date Modified Username Field Change
2026-05-25 20:41 radix New Issue
2026-05-25 20:49 Saga Musix Note Added: 0006678
2026-05-25 20:49 Saga Musix Relationship added related to 0000779
2026-05-25 21:28 radix Note Added: 0006679
2026-05-25 22:23 radix Note Added: 0006680
2026-05-26 10:20 radix Note Added: 0006681
2026-05-26 20:25 Saga Musix Note Added: 0006682
2026-05-27 11:55 radix Note Added: 0006684