We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e54c852 commit e36473cCopy full SHA for e36473c
1 file changed
audio.py
@@ -91,7 +91,7 @@ def say(self, what, locale='en'):
91
if what and "$" in what:
92
os.system ('omxplayer sounds/' + what[1:])
93
elif what and len(what):
94
- os.system ('espeak --stdout -v' + locale + ' -p 90 -a 200 -s 150 -g 10 "' + what + '" 2>>/dev/null | aplay')
+ os.system ('espeak --stdout -v' + locale + ' -p 90 -a 200 -s 150 -g 10 "' + what + '" 2>>/dev/null | aplay -D hw:1,0')
95
96
def normalize(self, snd_data):
97
"Average the volume out"
0 commit comments