Fixed hybrid PM self.sr issue on feature print. Changed to self.fs

This commit is contained in:
Mangio621
2023-06-11 05:08:14 +10:00
parent 351bec4522
commit 623b4553b6

View File

@@ -68,7 +68,7 @@ class FeatureInput(object):
f0 = None
if method == "pm":
f0 = (
parselmouth.Sound(x, self.sr)
parselmouth.Sound(x, self.fs)
.to_pitch_ac(
time_step=time_step / 1000,
voicing_threshold=0.6,