KraftDiner wrote:
[...]
> In python I'm able to read in binary data from a file.
[...]
> 
> However the data is 16bits per sample and python is storing the
> data in a string.  How do I convert that 8bit data into a list of 16
> bit integers?

On the vast majority of systems, files hold sequences of
eight-bit integers. How you convert from those to your 16-bit
type depends on how the the writer of the file converted the
16-bit integer type to a sequence 8-bit integers.


-- 
--Bryan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to