mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
bugfix: f0detector
This commit is contained in:
parent
50ff96b3c5
commit
3726a926b7
@ -256,6 +256,10 @@ class RVC:
|
||||
setattr(self.settings, key, float(val))
|
||||
elif key in self.settings.strData:
|
||||
setattr(self.settings, key, str(val))
|
||||
if key == "f0Detector":
|
||||
self.pitchExtractor = PitchExtractorManager.getPitchExtractor(
|
||||
self.settings.f0Detector
|
||||
)
|
||||
else:
|
||||
return False
|
||||
return True
|
||||
|
@ -8,7 +8,7 @@ class RVCSettings:
|
||||
gpu: int = 0
|
||||
dstId: int = 0
|
||||
|
||||
f0Detector: str = "harvest" # pm or harvest
|
||||
f0Detector: str = "harvest" # dio or harvest
|
||||
tran: int = 20
|
||||
silentThreshold: float = 0.00001
|
||||
extraConvertSize: int = 1024 * 32
|
||||
|
Loading…
Reference in New Issue
Block a user