View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000957 | OpenMPT | libopenmpt | public | 2017-05-23 16:55 | 2017-05-25 08:13 |
Reporter | wolfensg | Assigned To | Saga Musix | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | OpenMPT 1.26.11.00 / libopenmpt 0.2-beta24 (upgrade first) | ||||
Summary | 0000957: Some XM/MOD/S3M/IT files with subsongs appear to have only first subsong accessible | ||||
Description | I guess the following may be the case, i.e. it depends on the patterns used in the sequence in the module. I mean the sequence of patterns in Beyond The Network may be like (example - not related to the real thing): While 02-world00 may have something like: It seem the libopenmpt library interprets the second scenario as end of the mod file despite that after the "divider" there are some other parts/subsongs. | ||||
Steps To Reproduce | Attached file does not work properly. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | |||||
If a module contains more than one song, you need to either explicitely set the song you want to play using openmpt::module::select_subsong with a parameter in the range 0...openmpt::module::get_num_subsongs(), or with the parameter -1 which plays all subsongs consecutively. Did you do that? libopenmpt generally does not care if there are "---" items between subsongs or not. |
|
Note that all the subsongs in the example file you provided start with four silent patterns. libopenmpt does currently not strip any leading or trailing silence from modules, so you will have to skip about 20 seconds into the subsong to actually hear anything. Untested pseudocode which could achieve something like that: |
|
Many thanks for your input. I understand the issue now. |
|
Silence trimming will probably not be implemented very soon, and once it's implemented it will be an optional feature. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-05-23 16:55 | wolfensg | New Issue | |
2017-05-23 16:55 | wolfensg | File Added: 02-world00.zip | |
2017-05-23 17:02 | Saga Musix | Assigned To | => Saga Musix |
2017-05-23 17:02 | Saga Musix | Status | new => feedback |
2017-05-23 17:02 | Saga Musix | Note Added: 0003031 | |
2017-05-23 17:02 | Saga Musix | Note Edited: 0003031 | |
2017-05-23 17:13 | Saga Musix | Note Added: 0003032 | |
2017-05-23 17:15 | Saga Musix | Note Edited: 0003032 | |
2017-05-23 18:04 | wolfensg | Note Added: 0003033 | |
2017-05-23 18:04 | wolfensg | Status | feedback => assigned |
2017-05-23 22:10 | Saga Musix | Note Added: 0003034 | |
2017-05-25 08:13 | Saga Musix | Status | assigned => closed |
2017-05-25 08:13 | Saga Musix | Resolution | open => no change required |