You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes whose duration is below the resolution of the MIDI file get written as a note-on and a note-off occurring at the same time. This causes "spurious long-running notes" as described in #131.
Here, the note-on and note-off at time 0 are interpreted in the reverse order, which creates the spurious long note from 0.0 to 2.0. Inspecting the file using mido:
Notes whose duration is below the resolution of the MIDI file get written as a note-on and a note-off occurring at the same time. This causes "spurious long-running notes" as described in #131.
Example:
Here, the note-on and note-off at time 0 are interpreted in the reverse order, which creates the spurious long note from 0.0 to 2.0. Inspecting the file using
mido
:I don't know what the best solution is, maybe ignoring such notes (i.e. not writing them) or removing them in
remove_invalid_notes
.The text was updated successfully, but these errors were encountered: