On Thu, Sep 3, 2009 at 3:17 PM, David Perlman wrote:
> So, in summary, I would be interested in either of two things:
> 1. advice on how to do arithmetic on the string of bytes without converting
> it to a list of ints first, or
> 2. advice on how to convert it to a list of ints, and then back to
I have successfully used the builtin "wave" module to read an audio
file in as a string of bytes:
>>> x=wave.open('DaCWL.wav','rb')
>>> x.getparams()
(1, 2, 44100, 15440, 'NONE', 'not compressed')
>>> samp=x.readframes(15440)
>>> type(samp)
The x.getparams() indicates that there is one audio