1
0
mirror of synced 2024-12-12 07:41:17 +01:00
Retrieval-based-Voice-Conve.../lib/infer_pack/modules/F0Predictor/F0Predictor.py
2023-06-24 15:26:14 +08:00

17 lines
442 B
Python

class F0Predictor(object):
def compute_f0(self, wav, p_len):
"""
input: wav:[signal_length]
p_len:int
output: f0:[signal_length//hop_length]
"""
pass
def compute_f0_uv(self, wav, p_len):
"""
input: wav:[signal_length]
p_len:int
output: f0:[signal_length//hop_length],uv:[signal_length//hop_length]
"""
pass