OpenNoteBlockStudio icon indicating copy to clipboard operation
OpenNoteBlockStudio copied to clipboard

Loops sometimes loops a measure after it's supposed to under certain conditions

Open CubixL opened this issue 3 years ago • 1 comments

Describe the bug When using loops at a very fast (I used 450) BPM, the song sometimes skips over the measure and loops the measure after the last note.

To Reproduce I tried this out using only one looped measure at 450 BPM in 2/4. Make sure the loop start tick is 0 and that the toggle looping option is on. When clicking play, the red bar will sometimes go skip over the frame where it's supposed to loop and then it will loop on the next measure. On rare cases it also skips the second and even third measure. This however happens inconsistently.

Expected behavior The loop to work appropriately

Additional context Honestly no one would care, I don't think someone will make a song under those conditions, but I just wanted to point it out.

CubixL avatar Sep 17 '20 21:09 CubixL

This is an absolute edge case since it's only reproducible under very fast tempos, as you pointed out. But it is indeed a bug, so I'll leave it open. The reason for it is that the marker flies so fast over the tick it's supposed to loop at, that it completely skips it and thinks it's not the time to loop yet. It shouldn't be hard to fix. :)

Bentroen avatar Sep 26 '20 20:09 Bentroen