Skip to content

Commit

Permalink
acep: set 0 as default coef value
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Jan 15, 2025
1 parent 2b8e9ce commit ce7c7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libresvip/plugins/acep/base_pitch_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ def semitone_value_at(self, seconds: float) -> float:
clipped_left_index
] + lambda_ * self.values_in_semitone[clipped_right_index]
if (vibrato_value := self.vibrato_value_interval_dict.get(seconds)) is not None:
vibrato_value *= self.vibrato_coef_interval_dict[seconds]
vibrato_value *= self.vibrato_coef_interval_dict.get(seconds, 0)
pitch_value += vibrato_value
return pitch_value

0 comments on commit ce7c7ea

Please sign in to comment.