Skip to content

Commit

Permalink
ustx: fix border point
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Aug 4, 2024
1 parent ba005b8 commit a390d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libresvip/plugins/ustx/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def base_pitch(self, part: UVoicePart) -> list[float]:
)
base_pitch = (
prev_note.tone * 100
if prev_note is not None and x < prev_note.end
if prev_note is not None and x <= prev_note.end
else note.tone * 100
)
pitches[index] += pitch - base_pitch
Expand Down

0 comments on commit a390d11

Please sign in to comment.