View Issue Details

IDProjectCategoryView StatusLast Update
0000591OpenMPTUser Interfacepublic2014-09-27 15:51
ReporterTotalcancer Assigned ToSaga Musix  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Platformx64OSWindowsOS VersionXP
Product VersionOpenMPT 1.23.05.00 / libopenmpt 0.2-beta6 (upgrade first) 
Target VersionOpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first)Fixed in VersionOpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first) 
Summary0000591: Estimate song length issue
Description

Wrong working option"estimate song length"
when is using Sbx command (song loop)
estimating is far longer than is in fact.
(when I have using render to MP3 some loop sounds always was too short)

Steps To Reproduce

Use that option with Sb command

Additional Information

approximately wrong estimate is 6\1

TagsNo tags attached.
Attached Files
print.jpg (89,383 bytes)   
print.jpg (89,383 bytes)   
print2.JPG (427,723 bytes)
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2014-09-24 14:38

administrator   ~0001800

It's not possible to estimate nested pattern loops entirely correctly (100% correct prediction would lead to possible infinite loops), but non-nested pattern loops should be calculated perfectly. However, please provide an example module to have a look at, and I can check whether it would be feasible to predict its song length more accurately.

Totalcancer

Totalcancer

2014-09-25 00:00

reporter   ~0001801

I thinks no need example module I making those sounds with which i have saw this problem together with microtuning option so no sound values without .tun but I found out that this problem occure when sbx is using on 2 or more tracks so this is only need to know plus printscreen.

Saga Musix

Saga Musix

2014-09-25 00:01

administrator   ~0001802

The screenshot is of no help. Please provide the actual module to have a look at.

Totalcancer

Totalcancer

2014-09-25 00:17

reporter   ~0001803

Why i can't upload module "File type not allowed for uploads"
but anyway try makes on 2 or more tracks sb loop block and compare it estimate option with rendered time of module. are you there

Saga Musix

Saga Musix

2014-09-25 00:24

administrator   ~0001804

You have to compress the file (zip, 7z) to upload it.
And no, simple nested loops on two channels are still estimated perfectly here. However, just to say this once more: <strong>Multiple complicated nested pattern loops are not and cannot be estimated properl</strong> - otherwise the risk of an endless loop during song estimation (i.e. program freeze) is possible.

Totalcancer

Totalcancer

2014-09-25 00:50

reporter   ~0001805

supplement to last print to make complete this
so in my sys estimate is wrong maybe fault of my cpu | :

Saga Musix

Saga Musix

2014-09-27 15:51

administrator   ~0001806

The case depicted in your example screenshot should now be fixed in r4312. However, Some more edge cases will not be calculated properly, and for the technical reasons described above, probably will never be.

Issue History

Date Modified Username Field Change
2014-09-24 13:34 Totalcancer New Issue
2014-09-24 14:38 Saga Musix Note Added: 0001800
2014-09-24 23:53 Totalcancer File Added: print.jpg
2014-09-25 00:00 Totalcancer Note Added: 0001801
2014-09-25 00:01 Saga Musix Note Added: 0001802
2014-09-25 00:17 Totalcancer Note Added: 0001803
2014-09-25 00:24 Saga Musix Note Added: 0001804
2014-09-25 00:43 Totalcancer File Added: print2.JPG
2014-09-25 00:50 Totalcancer Note Added: 0001805
2014-09-27 15:51 Saga Musix Note Added: 0001806
2014-09-27 15:51 Saga Musix Assigned To => Saga Musix
2014-09-27 15:51 Saga Musix Status new => resolved
2014-09-27 15:51 Saga Musix Resolution open => fixed
2014-09-27 15:51 Saga Musix Fixed in Version => OpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first)
2014-09-27 15:51 Saga Musix Target Version => OpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first)