% James P. LeBlanc % Professor of Signal Processing % Systemteknik% Luleå Univ. of Tech % SE-971 87 Luleå, Sweden %% Send fame and fortune to [email protected] !!!%clearcFILE = 'AllStar.wav' % input wavefile name Fn = 2^18; % number of samples to use% (power of two makes for fast FFT's!)fs = 44100; % sample frequencySTART= 75*fs; % sample number to start at% (avoids silence at start of many songs)[x,FS,NBITS] = wavread( FILE ,[START START+n]);[x = x(1:n);x=x';X = fft(x);X[junk,I] = sort(abs(X));
This is the end of the preview.
access the rest of the document.