From 94c4cc0d95ad19f30f74d5d3c1efff484c6bf10b Mon Sep 17 00:00:00 2001 From: Wessie Date: Thu, 19 Dec 2013 01:34:04 +0100 Subject: [PATCH] Updated README for the changes to the interface. Changed default value from None to 10 for the MicrophoneRecognizer.recognize --- README.md | Bin 10435 -> 10150 bytes dejavu/recognize.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 76699f33cb13c2ec3a9b8bf6533c2d001ebd1e6a..2fc4490b46ee1a3c704e33f8c95a916ddaf54f4a 100644 GIT binary patch delta 521 zcmZvZO-{l<7>1*Uzb5FKgqV-I0AkZnLlg*fMNC{6qZfcFowh?@rkR=6C?Oo8cVK5E z;RtTLf>&_q&Yf)&P>3^|$@f0*_cw3%%e&QUCi1h(sGVyrfJ}YHCG_zag@Iz4CX5($ zhzmWKDY~vha#R~hWFdjo&Yx(icudGRsu~wpdLzDus%>p45D3f@fHNldHNTC7c(h}= z>nAV9Z9oD(ik>dQcvRx^3w$mIE402M(bw<~}D>idudBt(+e& zZpnx5Oa6xCw;nxTp=EC>qMw`m?qY(=R&+Cb5Ti-I4xD2OEUlAHIYBy+>eB(=JD zKO+CYg&+tDZ{^yx8+ZN*e}j|cl|qtub5M4RFY>n21R6; zlXI<4NX28=JKF-EP>DWsVs7}Q3D*|9SN8xV)xqHURp!h{o0etg?yk3OpPlOC>W5)U zJQi{aW`=)}3S7q3i?#c6&q^|itllgqW#CaGnfbmCiJ}Z1HZGrXWyPLh`ezN&a@Z(f z|2MQd>eW1(TI>$HK!$B~tv#vAfqx;PLRDV|4-Tj>d0`+H%4S9C6bwP0@(95@;bjxG z1~(yPjb#>D+f3{WRj!0IdQ|-!9BwiehGBkcW+WRS%SlJ;H?Is!9uzt-ln3{=?^w=7 zxt^bY+}>7?36&R5yeXPM7Fp0MXm@n(-)phLZmrCpV?wf>fOfo>hi{oqiz=KDE>#opYxl` KTztFuA diff --git a/dejavu/recognize.py b/dejavu/recognize.py index ec9e824..dfc06d9 100755 --- a/dejavu/recognize.py +++ b/dejavu/recognize.py @@ -99,7 +99,7 @@ class MicrophoneRecognizer(BaseRecognizer): def get_recorded_time(self): return len(self.data[0]) / self.rate - def recognize(self, seconds=None): + def recognize(self, seconds=10): self.start_recording() for i in range(0, int(self.samplerate / self.chunksize * seconds)):