OpenNoteBlockStudio icon indicating copy to clipboard operation
OpenNoteBlockStudio copied to clipboard

Rounding error causes velocity to go negative

Open BedrRedstone opened this issue 1 year ago • 0 comments

When using the fade out macro, it will sometime give negative zero at the end of the macro. when it goes negative, it plays as though its velocity is 100

Steps to reproduce the behavior:

  1. Make a 15 note long sustain
  2. Right click
  3. Go to Macros
  4. Click on "Fade out"
  5. Look at the end of the sustain

It should neither be negative or play one negative.

image

Note that a 15 note long sustain is not the only example possible to get negative zero velocity

BedrRedstone avatar Aug 18 '24 03:08 BedrRedstone