mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-03-01 15:51:31 +00:00
Format code (#142)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
376bd31c19
commit
b4c653142d
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user