1
0
mirror of synced 2024-11-24 15:40:19 +01:00
Retrieval-based-Voice-Conve.../infer_pack/modules/F0Predictor/F0Predictor.py
github-actions[bot] 89afd017ba
Format code (#384)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-30 15:22:53 +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