remove Unnecessary elif (#259)

This commit is contained in:
Ftps
2023-05-13 04:27:44 +09:00
committed by GitHub
parent ef016ae6a0
commit 3d8d0957e4

View File

@@ -49,7 +49,7 @@ class VC(object):
f0 = np.pad( f0 = np.pad(
f0, [[pad_size, p_len - len(f0) - pad_size]], mode="constant" f0, [[pad_size, p_len - len(f0) - pad_size]], mode="constant"
) )
elif f0_method == "harvest": else:
f0, t = pyworld.harvest( f0, t = pyworld.harvest(
x.astype(np.double), x.astype(np.double),
fs=self.sr, fs=self.sr,