OpenNoteBlockStudio icon indicating copy to clipboard operation
OpenNoteBlockStudio copied to clipboard

missing notes at high tick speeds

Open Glimmlit opened this issue 2 years ago • 3 comments

Note Block Studio starts missing notes when many notes are played at a high tick speed. thingy

could record a video of my project and link it so just ask if thats needed.

Glimmlit avatar Feb 09 '22 00:02 Glimmlit

Hi! We are aware of this issue -- the program only plays the notes that are directly under the marker, but at that tick speed it moves so fast that some notes are completely skipped.

We even took actions to remedy it before -- more specifically, we store the last tick that was played and play all ticks from that point up until the current marker position (see #101).

The only problem with this approach is, there's no way to differentiate this situation from the user dragging to resize the window, which causes the program to freeze completely until you release the mouse. As such, if you dragged the window for a few seconds and then let go of it, the noise caused by all the piled up notes could be loud enough to seriously damage your ears.

Because of that, we deliberately limited the "piled up" notes to only the last three ticks behind the marker. I'm not sure there's a way to improve it further, but I'll leave this issue open for now as it's technically still a problem (especially since v3.9.0 where the tempo can go up to 60 t/s).

Bentroen avatar Feb 10 '22 22:02 Bentroen

try increasing the frame rate

mckuhei avatar Feb 20 '22 11:02 mckuhei

I found out that when it’s converted into an mp3 it works just fine.

Glimmlit avatar Feb 24 '22 17:02 Glimmlit

I believe the measures we have implemented to alleviate this (see comment above) are already enough to remedy the issue. Playing multiple piled-up notes could be really dangerous in case the program freezes for an extended amount of time.

Bentroen avatar Jun 02 '23 12:06 Bentroen