From d78944d1a6db0fd0cd70c1932ef2621fb44ef9b6 Mon Sep 17 00:00:00 2001 From: talksik Date: Thu, 27 Apr 2023 16:55:12 -0700 Subject: [PATCH] better organizing --- basic_text_to_speech/talk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basic_text_to_speech/talk.py b/basic_text_to_speech/talk.py index 5b11f93..f8594df 100644 --- a/basic_text_to_speech/talk.py +++ b/basic_text_to_speech/talk.py @@ -5,7 +5,8 @@ from subprocess import call def robot(text): print("executing command") - call(['espeak', '--stdin', '"Hello world how are you doing today?"', '|', 'aplay', '-D', 'plughw:2,0']) + call(['espeak', '--stdin', '"Hello world how are you doing today?"', + '|', 'aplay', '-D plughw:2,0']) if __name__ == '__main__':