mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-09 12:30:38 +08:00
optimize(config): modelize package
This commit is contained in:
@@ -118,6 +118,7 @@ class Pipeline(object):
|
||||
f0_cache_key = md5(x.tobytes()).digest()
|
||||
input_audio_path2wav[f0_cache_key] = x.astype(np.double)
|
||||
f0 = cache_harvest_f0(f0_cache_key, self.sr, f0_max, f0_min, 10)
|
||||
del input_audio_path2wav[f0_cache_key]
|
||||
if filter_radius > 2:
|
||||
f0 = signal.medfilt(f0, 3)
|
||||
elif f0_method == "crepe":
|
||||
|
||||
Reference in New Issue
Block a user