mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
implement fcpe
This commit is contained in:
parent
fbf69cda19
commit
04f93b193f
@ -43,6 +43,9 @@ class PitchExtractorManager(Protocol):
|
|||||||
return RMVPEPitchExtractor(cls.params.rmvpe, gpu)
|
return RMVPEPitchExtractor(cls.params.rmvpe, gpu)
|
||||||
elif pitchExtractorType == "rmvpe_onnx":
|
elif pitchExtractorType == "rmvpe_onnx":
|
||||||
return RMVPEOnnxPitchExtractor(cls.params.rmvpe_onnx, gpu)
|
return RMVPEOnnxPitchExtractor(cls.params.rmvpe_onnx, gpu)
|
||||||
|
elif pitchExtractorType == "fcpe":
|
||||||
|
# add the FcpePitchExtractor
|
||||||
|
return FcpePitchExtractor(gpu)
|
||||||
else:
|
else:
|
||||||
# return hubert as default
|
# return hubert as default
|
||||||
print("[Voice Changer] PitchExctractor not found", pitchExtractorType)
|
print("[Voice Changer] PitchExctractor not found", pitchExtractorType)
|
||||||
|
Loading…
Reference in New Issue
Block a user