View Issue Details

IDProjectCategoryView StatusLast Update
0001805OpenMPTFile Format Supportpublic2024-08-12 22:02
ReporterSySERR Assigned ToSaga Musix  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSDebianOS Version12
Product VersionOpenMPT 1.32.00.* (current testing) 
Target VersionOpenMPT 1.31.10.00 / libopenmpt 0.7.10 (upgrade first)Fixed in VersionOpenMPT 1.31.10.00 / libopenmpt 0.7.10 (upgrade first) 
Summary0001805: When switching from XM to IT/MPTM, the volume loop of the instrument gets incorrect values.
Description

I tried to save an XM module in IT format, but the saved IT module is played incorrectly by OpenMPT and all players.
When switching to IT or MPTM, the volume envelope loop and sustain loop of the instrument gets incorrect values.

Steps To Reproduce

0.: Download this song: https://modarchive.org/index.php?request=view_by_moduleid&query=185350
1.: Open it and start playback.
2.: Stop it and change the Type to IT or OpenMPT in the "Song Properties" window.
3.: Start playback again.
4.: The beginning of the song will sound wrong due to the problem mentioned above.

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

Activities

Saga Musix

Saga Musix

2024-07-29 14:01

administrator   ~0006026

As of r21301, if an XM volume envelope has sustain point or loop, sustain is now automatically enabled on the last point for IT/MPTM conversions.

SySERR

SySERR

2024-08-12 06:38

reporter   ~0006032

It looks like it's only partially okay.
With the same module, if I switch to IT/MPTM, Instrument 47 sounds wrong.

Version 1.32.00.22-r21380 TEST

Saga Musix

Saga Musix

2024-08-12 22:02

administrator   ~0006033

Regression introduced by r21301 fixed in r21416.

Issue History

Date Modified Username Field Change
2024-07-28 17:12 SySERR New Issue
2024-07-29 13:59 Saga Musix Assigned To => Saga Musix
2024-07-29 13:59 Saga Musix Status new => assigned
2024-07-29 14:01 Saga Musix Note Added: 0006026
2024-07-29 14:01 Saga Musix Status assigned => resolved
2024-07-29 14:01 Saga Musix Resolution open => fixed
2024-07-29 14:01 Saga Musix Fixed in Version => OpenMPT 1.31.10.00 / libopenmpt 0.7.10 (upgrade first)
2024-07-29 14:01 Saga Musix Target Version => OpenMPT 1.31.10.00 / libopenmpt 0.7.10 (upgrade first)
2024-08-12 06:38 SySERR Status resolved => feedback
2024-08-12 06:38 SySERR Resolution fixed => reopened
2024-08-12 06:38 SySERR Note Added: 0006032
2024-08-12 22:02 Saga Musix Status feedback => resolved
2024-08-12 22:02 Saga Musix Resolution reopened => fixed
2024-08-12 22:02 Saga Musix Note Added: 0006033