adding in play

This commit is contained in:
talksik
2023-04-27 17:04:18 -07:00
parent ef04b23827
commit f20d34ef8c
+1
View File
@@ -6,6 +6,7 @@ import os
def robot(text):
print("executing command")
os.system("espeak -w output.wav \"" + text + "\"")
os.system("aplay -D plughw:2,0 output.wav")
if __name__ == '__main__':