View Issue Details

IDProjectCategoryView StatusLast Update
0000062OpenMPTGeneralpublic2011-07-26 17:43
Reporterjmkz Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionno change required 
Platformx86OSWindowsOS VersionXP
Product VersionOpenMPT 1.19.03.00 (upgrade first) 
Summary0000062: Reproduction of samples in Sample Editor stops at some position
Description

Reproduction of samples in Sample Editor stops at some position. This happen when you play some fragments of a big sample also for small samples. (f.e. a rendered song, CD quality)

Steps To Reproduce
  1. Run OpenMPT.
  2. Create new OpenMPT module.
  3. Follow the steps of the video.

Video: http://www.mediafire.com/file/b973ddj297dewst/bug108-edit.avi

Additional Information

Finally I could reproduce the steps to recreate the bug. The above video shows the steps made (OpenMPT r927 and compiled with VS2010 in debug mode) Note: The stop in the second 23 is a re-entered key, not the bug itself.

TagsNo tags attached.
Has the bug occurred in previous versions?Yes, in previous 1.19.0.* not sure for 1.18.03
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2011-01-18 22:49

administrator   ~0000041

I can't reproduce this with any sample. Have you tried using a different sound driver in the sound setup (f.e. an ASIO driver)? Does this also close the sound buffer? If the "pause" icon in the main toolbar changes into a "play" icon, this is the case. I'm not sure if the video is just badly recorded, but is the play cursor really jumping forwards and backwards during playback?

jmkz

jmkz

2011-01-19 04:15

reporter   ~0000042

Last edited: 2011-01-19 04:21

The jumping is to demonstrate that happens in random parts of the sample (random keys pressed). I'm trying with different audio settings.

jmkz

jmkz

2011-01-19 05:04

reporter   ~0000043

Well, it's hard to get this bug, but there is a new discover, you need first open & play some songs and then close all. Next create new IT document (maybe it affect for IT, as I cannot reproduce this with MOD/S3M/XM) and in the first sample load a small sample f.e. a snaredrum, edit & play & undo. Then load the big sample and try sample resampling with it. Combitations of this maybe rebproduce the bug.

Saga Musix

Saga Musix

2011-01-19 08:05

administrator   ~0000044

I wasn't referring to you jumping around in the sample editor, but in the video it looks like the sample is playing normally, but the playback cursor randomly jumps back by a few pixels while it's playing.

jmkz

jmkz

2011-01-19 08:21

reporter   ~0000045

Well, I cannot notice that jumping, but here is the original video recording:

http://www.mediafire.com/?7u7cwij5ehkqsp8

jmkz

jmkz

2011-07-26 05:04

reporter   ~0000258

I get this one again in 1.19.03, I'm finding what causes this.

Saga Musix

Saga Musix

2011-07-26 15:43

administrator   ~0000260

What driver are you using, WaveOut/DirectX/ASIO? Does it also happen with other drivers? If you are using ASIO, does it also happen with the ASIO4All driver?

jmkz

jmkz

2011-07-26 15:56

reporter   ~0000261

I get this one at least with DirectX and ASIO (ASIO4All) output. I have not tested with WaveOut.

Saga Musix

Saga Musix

2011-07-26 16:00

administrator   ~0000262

D'oh... You have "Reset channels on loop" set in the general settings, don't you?

jmkz

jmkz

2011-07-26 16:04

reporter   ~0000263

Yes

Saga Musix

Saga Musix

2011-07-26 16:08

administrator   ~0000264

Well, then it's pretty obvious what happens here and it's not a bug.
You press the play button in the toolbar, which starts playing the (empty) module. As soon as the end of the module is reached, all channels including those that are occupied by the sample or instrument editor are reset (this has to be done because of virtual channel settings etc.).
Solution: Don't hit the play button or simply disable this setting, it's pointless anyway.

jmkz

jmkz

2011-07-26 17:28

reporter   ~0000265

Ok, I'll close this bug.

PD: When I compile OpenMPT it runs slowly either in 'debug' and 'release' builds, as seen on the video. Also my compiled exe is bigger than your development build. Why does it happen?

Saga Musix

Saga Musix

2011-07-26 17:43

administrator   ~0000266

Debug is slow because it's debug. VS2010 generates much bigger EXE files, mostly because of the new MFC version. I dunno if any of the optimization settings are different in the VS2010 project, but that could be one explanation for the lack of speed, or once again the new MFC version could also be an explanation.

Issue History

Date Modified Username Field Change
2011-01-18 09:36 jmkz New Issue
2011-01-18 09:37 jmkz Category User Interface => General
2011-01-18 22:49 Saga Musix Note Added: 0000041
2011-01-19 04:15 jmkz Note Added: 0000042
2011-01-19 04:21 jmkz Note Edited: 0000042
2011-01-19 05:04 jmkz Note Added: 0000043
2011-01-19 08:05 Saga Musix Note Added: 0000044
2011-01-19 08:21 jmkz Note Added: 0000045
2011-07-26 05:04 jmkz Note Added: 0000258
2011-07-26 05:04 jmkz Product Version OpenMPT 1.19.00.* (old testing) => OpenMPT 1.19.03.00 (upgrade first)
2011-07-26 15:39 jmkz Steps to Reproduce Updated
2011-07-26 15:43 Saga Musix Note Added: 0000260
2011-07-26 15:54 jmkz Priority low => normal
2011-07-26 15:54 jmkz Steps to Reproduce Updated
2011-07-26 15:54 jmkz Additional Information Updated
2011-07-26 15:56 jmkz Note Added: 0000261
2011-07-26 16:00 Saga Musix Note Added: 0000262
2011-07-26 16:04 jmkz Note Added: 0000263
2011-07-26 16:08 Saga Musix Note Added: 0000264
2011-07-26 17:28 jmkz Note Added: 0000265
2011-07-26 17:28 jmkz Resolution open => no change required
2011-07-26 17:43 Saga Musix Note Added: 0000266
2011-07-26 17:43 Saga Musix Status new => closed