From 1b2b1ded8b0c69893ff4dca1e775f9a66113827b Mon Sep 17 00:00:00 2001 From: not-matt <32398028+not-matt@users.noreply.github.com> Date: Sat, 6 Jan 2018 20:02:04 +0000 Subject: [PATCH] Update microphone.py --- python/microphone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/microphone.py b/python/microphone.py index 305003b..c39ecaa 100644 --- a/python/microphone.py +++ b/python/microphone.py @@ -18,7 +18,7 @@ def start_stream(callback): try: y = np.fromstring(stream.read(frames_per_buffer, exception_on_overflow=False), dtype=np.int16) y = y.astype(np.float32) - stream.read(get_read_available(), exception_on_overflow=False) + #stream.read(get_read_available(), exception_on_overflow=False) callback(y) except IOError: overflows += 1