1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-07 19:40:44 +08:00

optimize(rvc.f0): rename inner defs

This commit is contained in:
源文雨
2024-06-13 00:51:22 +09:00
parent 83144868e1
commit 1e94e007d5
6 changed files with 6 additions and 7 deletions

View File

@@ -28,4 +28,4 @@ class Dio(F0Predictor):
f0 = pyworld.stonemask(wav.astype(np.double), f0, t, self.sampling_rate)
for index, pitch in enumerate(f0):
f0[index] = round(pitch, 1)
return self.interpolate_f0(self.resize_f0(f0, p_len))[0]
return self._interpolate_f0(self._resize_f0(f0, p_len))[0]