mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-03-13 03:17:41 +03:00
WIP: so-vits-svc 40v2, alpha (refactoring3)
This commit is contained in:
parent
acc848fda4
commit
7a2fd74d6c
@ -138,9 +138,6 @@ class SoVitsSvc40v2:
|
||||
def get_processing_sampling_rate(self):
|
||||
return self.hps.data.sampling_rate
|
||||
|
||||
def get_processing_hop_length(self):
|
||||
return self.hps.data.hop_length
|
||||
|
||||
def get_unit_f0(self, audio_buffer, tran):
|
||||
wav_44k = audio_buffer
|
||||
# f0 = utils.compute_f0_parselmouth(wav, sampling_rate=self.target_sample, hop_length=self.hop_size)
|
||||
|
@ -147,7 +147,6 @@ class VoiceChanger():
|
||||
# receivedData: tuple of short
|
||||
def on_request(self, receivedData: any):
|
||||
processing_sampling_rate = self.voiceChanger.get_processing_sampling_rate()
|
||||
processing_hop_length = self.voiceChanger.get_processing_hop_length()
|
||||
|
||||
print_convert_processing(f"------------ Convert processing.... ------------")
|
||||
# 前処理
|
||||
|
Loading…
x
Reference in New Issue
Block a user