Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: audio compression using wavelet
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
asaf shimshovitz

Posts: 2
Registered: 2/7/10
audio compression using wavelet
Posted: Dec 13, 2012 6:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello everyone,

I am trying to do an audio compression using wavelet.
I am using 'wdencmp' function. Here is my code:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
y=wavread(AUDIO.wav) %loading some audio file
[THR,SORH,KEEPAPP] = ddencmp('cmp','wv',y);
N=5;
WAVELET_NAME='db10';
[XC,CXC,LXC,PERF0,PERFL2] =...
wdencmp('gbl',y,WAVELET_NAME,N,THR,SORH,KEEPAPP);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The thing is that the compression score looks lousy to me.
For a signal with 32400 samples I obtain

PERF0 =

65.5505


PERFL2 =

87.4930

If I am using fft for the compression, means: keeping only the highest coefficients of the Fourie transform of the signal and than take the inverse fft.
I obtain L2 norm squared around 99 for the same compression ratio.
My questions are:
1) Does the values for PERF0 and PERFL2 looks reasonable?
2) If so, is there some intuition of why compression with fft do much better?
3) Are there different ways to do audio compression with wavelet that can give better results?

Thanks!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.