mirror of https://gitlab.com/bashrc2/epicyon
Tiding
parent
f728ae5271
commit
bed15feb14
|
@ -355,8 +355,7 @@ def _speaker_mimic3(pitch: int, rate: int, srange: int,
|
||||||
if pitch > 75:
|
if pitch > 75:
|
||||||
voice = 'en_US/vctk_low'
|
voice = 'en_US/vctk_low'
|
||||||
length_scale = str(1.2 - (rate / 600.0))
|
length_scale = str(1.2 - (rate / 600.0))
|
||||||
if srange > 100:
|
srange = min(srange, 100)
|
||||||
srange = 100
|
|
||||||
noise_w = str(srange / 100.0)
|
noise_w = str(srange / 100.0)
|
||||||
text = html.unescape(say_text).replace('"', "'")
|
text = html.unescape(say_text).replace('"', "'")
|
||||||
if not text:
|
if not text:
|
||||||
|
|
Loading…
Reference in New Issue