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__':