mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
FIx F0 predictor for Harvet
This commit is contained in:
parent
786005f0de
commit
45133bc752
@ -65,7 +65,7 @@ class HarvestF0Predictor(F0Predictor):
|
|||||||
p_len = wav.shape[0] // self.hop_length
|
p_len = wav.shape[0] // self.hop_length
|
||||||
f0, t = pyworld.harvest(
|
f0, t = pyworld.harvest(
|
||||||
wav.astype(np.double),
|
wav.astype(np.double),
|
||||||
fs=self.hop_length,
|
fs=self.sampling_rate,
|
||||||
f0_ceil=self.f0_max,
|
f0_ceil=self.f0_max,
|
||||||
f0_floor=self.f0_min,
|
f0_floor=self.f0_min,
|
||||||
frame_period=1000 * self.hop_length / self.sampling_rate,
|
frame_period=1000 * self.hop_length / self.sampling_rate,
|
||||||
|
Loading…
Reference in New Issue
Block a user