I need the code for reading a wav file later compressing and decompressing it,&comparing input's and output's by sound syntax,and compression technique should be a lossless technique.
Show older comments
basic thing is first we created a Mat file by loading it as [y fs nbits]=wavread('ourfile.wav'),later saved it as Mat file in command window. in the editior i loaded the wave file as load ourfile.mat. [y fs nbits]=wavread('ourfile.wav');%reading the wav file sound(y,fs); %playing the wav file now the thin is i need a compression technique for this,later decompression the signal and fs=48000;nbits=16;so the bit rate will be=784kbps,i need a 24:1 compressor.later 1:24 decompressor.
Answers (0)
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!