1
0
mirror of synced 2024-11-15 03:07:40 +01:00

Update extract_f0_print.py

This commit is contained in:
RVC-Boss 2023-04-22 12:17:32 +00:00 committed by GitHub
parent 5d5ab5465f
commit 978539ad0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ class FeatureInput(object):
def compute_f0(self, path, f0_method):
# default resample type of librosa.resample is "soxr_hq".
# Quality: soxr_vhq > soxr_hq
x, sr = librosa.load(path, self.fs, res_type='soxr_vhq')
x, sr = librosa.load(path, self.fs)#, res_type='soxr_vhq'
p_len = x.shape[0] // self.hop
assert sr == self.fs
if f0_method == "pm":