View Issue Details

IDProjectCategoryView StatusLast Update
0001405OpenMPTAudio I/Opublic2020-12-28 11:47
ReporterTakuikaNinja Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformx64OSWindows 10 ProOS Version20H2
Product VersionOpenMPT 1.29.06.00 / libopenmpt 0.5.4 (upgrade first) 
Summary0001405: OPL instrument initialisation failure on load
Description

Some OPL instruments in the s3m and mptm formats do not initialise correctly when playing back a file after loading it. They will not be corrected until the user clicks on "Play Pattern".

Steps To Reproduce

I have provided a module which clearly illustrates the issue: https://drive.google.com/file/d/1FBi1mDh0jG_8hAris_PdaSIhbqgg-cle/view?usp=sharing

  1. Open the aformentioned module file.
  2. Click on "Play" or "Play From Start". The percussion sounds will be incorrect.
  3. Click on "Play Pattern". The percussion sounds will now be correct.
TagsNo tags attached.
Has the bug occurred in previous versions?yes
Tested code revision (in case you know it)

Activities

StarWolf3000

StarWolf3000

2020-12-28 11:31

reporter   ~0004580

I cannot reproduce this in my installation (Win 8.1 x64). OpenMPT is up-to-date. Repeating your steps above does not make the percussion sound incorrect. Also didn't happen in previous version for me (updated just now).

Would also be nice if you could provide an MPTM, where this happens for you (the linked file only contains an S3M).

Saga Musix

Saga Musix

2020-12-28 11:47

administrator   ~0004581

This is a quirk of the OPL chip. You have set the Attack duration of those instruments to maximum (15), so they will effectively never be heard. Only when OpenMPT sends a note-off for those instruments they will get out of the Attack section of the envelope and sound as intended.

To fix the problem, you need to set the attack of those instruments to 0 instead of 15.

Issue History

Date Modified Username Field Change
2020-12-28 02:46 TakuikaNinja New Issue
2020-12-28 11:24 StarWolf3000 Priority high => normal
2020-12-28 11:24 StarWolf3000 Severity major => minor
2020-12-28 11:31 StarWolf3000 Note Added: 0004580
2020-12-28 11:47 Saga Musix Note Added: 0004581
2020-12-28 11:47 Saga Musix Status new => closed
2020-12-28 11:47 Saga Musix Resolution open => no change required