2023-05-29 17:52:23 +02:00
|
|
|
class F0Predictor(object):
|
2023-05-30 09:22:53 +02:00
|
|
|
def compute_f0(self, wav, p_len):
|
|
|
|
"""
|
2023-05-29 17:52:23 +02:00
|
|
|
input: wav:[signal_length]
|
|
|
|
p_len:int
|
|
|
|
output: f0:[signal_length//hop_length]
|
2023-05-30 09:22:53 +02:00
|
|
|
"""
|
2023-05-29 17:52:23 +02:00
|
|
|
pass
|
|
|
|
|
2023-05-30 09:22:53 +02:00
|
|
|
def compute_f0_uv(self, wav, p_len):
|
|
|
|
"""
|
2023-05-29 17:52:23 +02:00
|
|
|
input: wav:[signal_length]
|
|
|
|
p_len:int
|
|
|
|
output: f0:[signal_length//hop_length],uv:[signal_length//hop_length]
|
2023-05-30 09:22:53 +02:00
|
|
|
"""
|
|
|
|
pass
|