mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-02-17 08:40:24 +00:00
Add files via upload (#379)
This commit is contained in:
committed by
GitHub
parent
69071119a9
commit
24f2ad44ea
16
infer_pack/modules/F0Predictor/F0Predictor.py
Normal file
16
infer_pack/modules/F0Predictor/F0Predictor.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user