about audio processing

4 views (last 30 days)
vijay rao
vijay rao on 6 Feb 2012
sir i am sorry to say this but didn't get your previous answer will you please explain me,how can i use dec2bin function in order to convert wav file into binary values with help of an example because this is my first time.sorry sir plz reply
  1 Comment
Walter Roberson
Walter Roberson on 6 Feb 2012
Reference: http://www.mathworks.com/matlabcentral/answers/28232-about-audio-processing

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Feb 2012
y = wavread('DeadCityRadio.wav', 'native');
y8 = typecast(y(:), 'uint8');
ybin = dec2bin(y8, 8) - '0';

More Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!