mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-10 12:12:26 +03:00
MMVCv15 ignore minimum input
This commit is contained in:
parent
3233377abd
commit
3037c3d2f9
@ -242,8 +242,8 @@ class MMVCv15:
|
|||||||
|
|
||||||
convertSize = inputSize + crossfadeSize + solaSearchFrame
|
convertSize = inputSize + crossfadeSize + solaSearchFrame
|
||||||
|
|
||||||
if convertSize < 8192:
|
# if convertSize < 8192:
|
||||||
convertSize = 8192
|
# convertSize = 8192
|
||||||
if convertSize % self.hps.data.hop_length != 0: # モデルの出力のホップサイズで切り捨てが発生するので補う。
|
if convertSize % self.hps.data.hop_length != 0: # モデルの出力のホップサイズで切り捨てが発生するので補う。
|
||||||
convertSize = convertSize + (
|
convertSize = convertSize + (
|
||||||
self.hps.data.hop_length - (convertSize % self.hps.data.hop_length)
|
self.hps.data.hop_length - (convertSize % self.hps.data.hop_length)
|
||||||
|
Loading…
Reference in New Issue
Block a user