Play through aplay

main
Bob Mottram 2022-06-29 23:41:08 +01:00
parent 80b1292d29
commit aaae4f1694
1 changed files with 2 additions and 1 deletions

View File

@ -347,7 +347,8 @@ def _speaker_mimic3(pitch: int, rate: int, srange: int,
cmd = 'mimic3 -v ' + voice + \
' --length-scale ' + length_scale + \
' --noise-w ' + noise_w + \
' "' + text + '" &'
' --play-program aplay' + \
' "' + text + '"'
os.system(cmd)