while(1): winsound.PlaySound(winsound.SND_FILENAME) voice_data = record_audio (winsound.PlaySoun("robot sound.wav", winsound.SND_FILENAME)) # get the voice input print("Done") print("Q:", voice_data) respond(voice_data) # respond
2.1m questions
2.1m answers
60 comments
57.0k users