From f04aee9a073ef05f04d5300de578d327d464ebbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 12 Sep 2014 18:28:51 -0400 Subject: Fixed music argument in mic.activeListen() --- client/mic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mic.py b/client/mic.py index c0656ce..3150d4e 100644 --- a/client/mic.py +++ b/client/mic.py @@ -232,7 +232,7 @@ class Mic: write_frames.writeframes(''.join(frames)) write_frames.close() - return self.active_stt_engine.transcribe(AUDIO_FILE, MUSIC) + return self.active_stt_engine.transcribe(AUDIO_FILE, MUSIC=MUSIC) def say(self, phrase, OPTIONS=" -vdefault+m3 -p 40 -s 160 --stdout > say.wav"): # alter phrase before speaking -- cgit v1.3.1