adding in play
This commit is contained in:
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user