You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This .it file contains two copies of the same sample with different global sample volumes that are played at different pitches. When played in Impulse Tracker, one low sample can be heard clearly; when it's played with xmp, both samples can be heard equally loud. libxmp seems to treat the global sample volume as maximum.
It looks like load_it_sample assigns the subinstrument global volume to the sample global volume regardless of the IT format version. QUIRK_INSVOL must be enabled to apply subinstrument global volume (https://github.com/libxmp/libxmp/blob/master/src/player.c#L736) so as far as I can tell QUIRK_INSVOL should be applied unconditionally to IT modules.
This should still be verified with an old format IT module.
Here's an IT 1.x module with instrument mode enabled that very obviously relies on sample global volume (in one of the drums, but much more noticeably with the vocal samples). IT 1.06, IT 2.14, and OpenMPT all play these samples at a lower volume than xmp. When I change this patch to unconditionally enable QUIRK_INSVOL xmp also plays it correctly.
This .it file contains two copies of the same sample with different global sample volumes that are played at different pitches. When played in Impulse Tracker, one low sample can be heard clearly; when it's played with xmp, both samples can be heard equally loud. libxmp seems to treat the global sample volume as maximum.
global_sample_volume.it.zip
The text was updated successfully, but these errors were encountered: