code: def _wrap_stream_read(self, stream):
          
          import pyaudio
          if getattr(stream.read, '__func__', None) is pyaudio.Stream.read:
              stream.read = lambda x: pyaudio.Stream.read(stream, x // 2, False)
docs: pyaudio.Stream.read takes samples as n, not bytes
          so read(n) should be read(n // sample_depth)