From: karim hossam on
hi all,
I want to convert a soud file (.wav or .au) to a string of bits Like [0 1 0 1 1 0 0 1] i foud the function wavread('filename')...but it gives avslues from-1 to1 and not in the form of string...
thank u for ur help
From: Daniel Armyr on
"karim hossam" <bayer_karim(a)hotmail.com> wrote in message <hqpmc9$9o3$1(a)fred.mathworks.com>...
> hi all,
> I want to convert a soud file (.wav or .au) to a string of bits Like [0 1 0 1 1 0 0 1] i foud the function wavread('filename')...but it gives avslues from-1 to1 and not in the form of string...
> thank u for ur help

I think you need to define your target format a bit more. What should the bits signify? You can always convert the data vector you have in matlab to a number format and then, using dec2bin() convert it to a string of 0s and 1s.

--DA