title: How to read stream of .wav bytes in python
body: <p>Is there a way to read frames of .wav format binary data? I am streaming .wav binary to a python server which I want to be able to read and use from processing by pyaudio, which complains about the frame size.</p>
  
  <p>Since I cannot use <code>wave.open('filename.wav')</code>, because I already have the binary data being streamed, is there a way to read the binary data so that I can use the <code>readframes</code> method in the <code>wave</code> python library?</p>
  
  <p>EDIT:
  I tried streaming <code>readframes</code> from the client side, however pyaudio gives an error that the bytes are not in .wav format. It would be ideal however if I can get this done on the server.</p>