From 59ef90af634facd91812bfaffd6b8d2b1745dff6 Mon Sep 17 00:00:00 2001 From: ItsTimeToCodeHari Date: Thu, 14 Jul 2016 23:18:02 +0530 Subject: [PATCH] Delete voice2.py --- voice2.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 voice2.py diff --git a/voice2.py b/voice2.py deleted file mode 100644 index fdd03e4..0000000 --- a/voice2.py +++ /dev/null @@ -1,13 +0,0 @@ -import speech_recognition as sr -import time -import serial -r = sr.Recognizer() -m = sr.Microphone() -def kkskaks(self, audio): - print(u"You said {}".format(r.recognize_google(audio)).encode("utf-8")) -#ser.open(); - -while True: - print("Say something!") - with m as source: lmnas = r.listen_in_background(source,kkskaks) -