Nornec / Midinous-Issues

2 stars 0 forks source link

Quantize not moving to expected point - Jumps to the right #55

Closed MHGray closed 3 months ago

MHGray commented 5 months ago

image In the above image the bottom right point is not currently on the grid. I've colored the center of the point red for clarity, with it being just slightly up and to the right of the closest grid point.

image When I select quantize, you can see that the point quantizes to a point which is not the closest grid point, but instead to next right most point. This seems to only happen when a point is slightly to the right of a grid point. Going above or below seems to act as you would expect, but left and right it seems jump to the right if possible.

Nornec commented 5 months ago

ah thanks for this! I'll take a look at the rounding code.

-Jae (they/them)

-------- Original Message -------- On Feb 7, 2024, 23:07, Matthew Gray wrote:

image.png (view on web) In the above image the bottom right point is not currently on the grid. I've colored the center of the point red for clarity, with it being just slightly up and to the right of the closest grid point.

image.png (view on web) When I select quantize, you can see that the point quantizes to a point which is not the closest grid point, but instead to next right most point. This seems to only happen when a point is slightly to the right of a grid point. Going above or below seems to act as you would expect, but left and right it seems jump to the right if possible.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Nornec commented 3 months ago

Fixed in 1.2.0.0