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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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