From 623b4553b60131b2f151bbbdfc32d2e1b4d75da5 Mon Sep 17 00:00:00 2001 From: Mangio621 Date: Sun, 11 Jun 2023 05:08:14 +1000 Subject: [PATCH] Fixed hybrid PM self.sr issue on feature print. Changed to self.fs --- extract_f0_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_f0_print.py b/extract_f0_print.py index da24c00..219488d 100644 --- a/extract_f0_print.py +++ b/extract_f0_print.py @@ -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,