Retrieval-based-Voice-Conve.../infer_pack/modules/F0Predictor/F0Predictor.py
Ναρουσέ·μ·γιουμεμί·Χινακάννα 24f2ad44ea
Add files via upload (#379)
2023-05-29 15:52:23 +00:00

16 lines
436 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