A Java-DSP Interface For Analysis of The MP3 Algorithm
A Java-DSP Interface For Analysis of The MP3 Algorithm
net/publication/251994370
CITATIONS READS
2 662
4 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by C. S. Pattichis on 25 June 2014.
ABSTRACT
In this section, we describe the features of the MP3 decoder 2.2. The Impulse Response of the Polyphase Filter
interface as implemented in Java-DSP. We use the Java-DSP
environment because it can be easily used with several Efficient coding performance of a perceptual coder depends
graphical functions which allow students to experiment with on the match between the properties of the designed filter
the algorithm. The plots are used to illustrate the details bank and the characteristics of the input signal [20]. The
behind the encoding and decoding processes. The proposed filter bank used in the MP3 encoder is critically sampled or
interface allows frame-by-frame synthesis and provides maximally decimated. The impulse response of the
access to the parameters evaluated at the encoder. prototype low pass filter is shown in Figure 3. Each of the
This MP3 decoder implementation is based on the open filters in the polyphase filter bank in has a modulated
source software application, JLayer1.0 [19]. We have
Figure 6. Frequency components obtained using a long
Figure 3. Impulse response of the low pass filter. window.
MDCT, window switching and tonality. They can 3.3 Exercise-3: MDCT Frequency Components
complement the teaching material, to introduce
fundamentals of the MP3 algorithm, before the students This exercise illustrates the relationship between windows
actually study the complete MPEG-1 encoding/decoding and frequency components. It requires students to observe
system. Furthermore, the paradigm of audio coders can serve the number of frequency components based on different
as an interesting application of the signal processing windows, different frames, and different sound files. In
concepts taught in the course. Though the proposed decoder addition, students can select different subbands and observe
interface can be used a standalone tool, the J-DSP that most of the significant frequency components are
environment allows students to perform further analysis by present in low to mid-frequency subbands.
including other signal processing functions. Figure 13
illustrates a sample J-DSP code that performs shaping of the 3.4 Exercise-4: Window Switching
white noise spectrum using a subband filter from the MP3
decoder interface. We will have students from the This exercise describes the transition of window switching in
undergraduate DSP class at Arizona State University to neighboring frames. This experiment gives students an
perform these exercises and evaluate the proposed interface. understanding about the order of switching windows.
Different orders of windows result in different frequency
3.1 Exercise-1: Polyphase filter analysis components.
This work has been supported in part by the NSF Phase 3 [13] A. Spanias, Ted Painter, and V.Atti, Audio Signal Processing
grant award 0817596 and the ASU SenSIP consortium. and Coding, Wiley, 2007.
[6] V. Atti, and A. Spanias, "On-line simulation modules for [20] R. Rangachar, A, Spanias, “A simulation tool for introducing
teaching speech and audio compression," in Proc. of IEEE MPEG-audio (MP3) concepts in a DSP course”, in Proc. of 2002
Frontiers in Education (FIE-2003), pp. T4E-17 - T4E-22, vol. 1, IEEE International Conference on Acoustics Speech and Signal
Nov 5-8, 2003, Boulder. Processing, pp. 4116-4119, vol. 4, May 2002, Florida.