www.pudn.com > Matlab-MPEG.rar > Common.m, change:2007-08-21,size:1037b


%   This sets the `global' variables use in the other functions. 
%   They correspond to MPEG audio layer I with psychoacoustic model 1 
%   as described in [1]. 
% 
%   See also  
%   References: 
%    [1] Information technology -- Coding of moving pictures and associated 
%        audio for digital storage media at up to 1,5 Mbits/s -- Part3: audio. 
%        British standard. BSI, London. October 1993. Implementation of ISO/IEC 
%        11172-3:1993. BSI, London. First edition 1993-08-01. 
% 
%------------------------------------------------------------------------------- 
 
FFT_SHIFT   = 384; 
FFT_SIZE    = 512; 
FFT_OVERLAP = (FFT_SIZE - FFT_SHIFT) / 2; 
 
N_SUBBAND = 32; 
 
% Flags for tonal analysis 
NOT_EXAMINED = 0; 
TONAL        = 1; 
NON_TONAL    = 2; 
IRRELEVANT   = 3; 
 
MIN_POWER = -200; 
 
% Set to one to see the graphs and explanation text 
DRAW = 1; 
 
% Indices used in tables like the threshold table 
% or in the list of tonal and non-tonal components. 
INDEX = 1; 
BARK  = 2; 
SPL   = 2; 
ATH   = 3;