Skip to content

Commit

Permalink
fix triangle formula
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Sep 18, 2024
1 parent 19f320d commit 334140b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libresvip/utils/music_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def cosine_easing_in_interpolation(r: float) -> float:

@_transform_interpolation_args
def cosine_easing_out_interpolation(r: float) -> float:
return math.cos(r * math.pi / 2)
return math.sin(r * math.pi / 2)


@_transform_interpolation_args
Expand Down

0 comments on commit 334140b

Please sign in to comment.