mimic3 command

main
Bob Mottram 2022-06-29 23:47:06 +01:00
parent aaae4f1694
commit 085c8e8eed
1 changed files with 2 additions and 3 deletions

View File

@ -346,9 +346,8 @@ def _speaker_mimic3(pitch: int, rate: int, srange: int,
return
cmd = 'mimic3 -v ' + voice + \
' --length-scale ' + length_scale + \
' --noise-w ' + noise_w + \
' --play-program aplay' + \
' "' + text + '"'
' --noise-w ' + noise_w + ' --stdout' + \
' "' + text + '" 2> /dev/null | aplay 2> /dev/null &'
os.system(cmd)