diff --git a/README.md b/README.md index 76699f3..2fc4490 100644 Binary files a/README.md and b/README.md differ 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)):