mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-03 00:33:57 +03:00
update
This commit is contained in:
parent
9dbbdcf89b
commit
3a86c27779
@ -49,7 +49,7 @@ class MMVC_Rest_VoiceChanger:
|
|||||||
changedVoice = self.voiceChangerManager.changeVoice(unpackedData)
|
changedVoice = self.voiceChangerManager.changeVoice(unpackedData)
|
||||||
self.tlock.release()
|
self.tlock.release()
|
||||||
|
|
||||||
print("", changedVoice[0].dtype)
|
# print("", changedVoice[0].dtype)
|
||||||
|
|
||||||
changedVoiceBase64 = base64.b64encode(changedVoice[0]).decode("utf-8")
|
changedVoiceBase64 = base64.b64encode(changedVoice[0]).decode("utf-8")
|
||||||
data = {"timestamp": timestamp, "changedVoiceBase64": changedVoiceBase64}
|
data = {"timestamp": timestamp, "changedVoiceBase64": changedVoiceBase64}
|
||||||
|
@ -273,7 +273,6 @@ class VoiceChangerV2(VoiceChangerIF):
|
|||||||
crossfade_frame=crossfade_frame,
|
crossfade_frame=crossfade_frame,
|
||||||
sola_search_frame=sola_search_frame,
|
sola_search_frame=sola_search_frame,
|
||||||
)
|
)
|
||||||
print("output audio dtype", audio.dtype)
|
|
||||||
t.record("inference")
|
t.record("inference")
|
||||||
|
|
||||||
if hasattr(self, "sola_buffer") is True:
|
if hasattr(self, "sola_buffer") is True:
|
||||||
|
Loading…
Reference in New Issue
Block a user