The document summarizes the key components and operation of an MP3 audio player. It discusses how MP3 players compress and decompress audio using techniques like filtering audio into sub-bands, quantizing, and masking. It then describes the MPEG Layer 1 encoding and decoding process. It provides state diagrams for file selection and audio playback. Finally, it outlines the system architecture of a typical MP3 player and discusses testing the individual components and integrated system.
The document summarizes the key components and operation of an MP3 audio player. It discusses how MP3 players compress and decompress audio using techniques like filtering audio into sub-bands, quantizing, and masking. It then describes the MPEG Layer 1 encoding and decoding process. It provides state diagrams for file selection and audio playback. Finally, it outlines the system architecture of a typical MP3 player and discusses testing the individual components and integrated system.
The document summarizes the key components and operation of an MP3 audio player. It discusses how MP3 players compress and decompress audio using techniques like filtering audio into sub-bands, quantizing, and masking. It then describes the MPEG Layer 1 encoding and decoding process. It provides state diagrams for file selection and audio playback. Finally, it outlines the system architecture of a typical MP3 player and discusses testing the individual components and integrated system.
The document summarizes the key components and operation of an MP3 audio player. It discusses how MP3 players compress and decompress audio using techniques like filtering audio into sub-bands, quantizing, and masking. It then describes the MPEG Layer 1 encoding and decoding process. It provides state diagrams for file selection and audio playback. Finally, it outlines the system architecture of a typical MP3 player and discusses testing the individual components and integrated system.
Download as PPTX, PDF, TXT or read online from Scribd
Download as pptx, pdf, or txt
You are on page 1of 10
5.
11) Audio player/MP3 Player
5.11.1)Operation and requirements • MP3 players use either flash memory or disk drives to store music. • It performs the following functions such as audio storage, audio decompression, and user interface. • Audio compression It is a lossy process. The coder eliminates certain features of the audio stream so that the result can be encoded in fewer bits. • Audio decompression The incoming bit stream has been encoded using a Huffman style code, which must be decoded. • Masking One tone can be masked by another if the tones are sufficiently close in frequency. Audio compression standards • Layer 1 (MP1) uses a lossless compression of sub bands and simple masking model. • Layer 2 (MP2) uses a more advanced masking model. • Layer 3 (MP3) performs additional processing to provide lower bit rates. 5.11.2)MPEG Layer 1 encoder • Filter bank splits the signal into a set of 32 sub- bands that are equally spaced in the frequency domain and together cover the entire frequency range of the audio. • EncoderIt reduce the bit rate for the audio signals. • Quantizer scales each sub-band( fits within 6 bits ), then quantizes based upon the current scale factor for that sub-band. • Masking model It is driven by a separate Fast Fourier transform (FFT), the filter bank could be used for masking, a separate FFT provides better results. • The masking model chooses the scale factors for the sub-bands, which can change along with the audio stream. • Multiplexer output of the encoder passes along all the required data. MPEG Layer 1 data frame format • A frame carries the basic MPEG data, error correction codes, and additional information. • After disassembling the data frame, the data are un-scaled and inverse quantized to produce sample streams for the sub-band.
5.11.3)MPEG Layer 1 decoder
•After disassembling the data frame, the data are un- scaled and inverse quantized to produce sample streams for the sub-band. •An inverse filter bank then reassembles the sub-bands into the uncompressed signal. User interface MP3 player is simple both the physical size and power consumption of the device. Many players provide only a simple display and a few buttons. File system player generally must be compatible with PCs. CD/MP3 players used compact discs that had been created on PCs. 5.11.4)Requirements 5.11.5) Specification • The File ID class is an abstraction of a file in the flash file system. • The controller class provides the method that operates the player. 5.11.6) State diagram for file display and selection • This specification assumes that all files are in the root directory and that all files are playable audio. 5.11.7) State diagram for Audio Playback • It refers to sending the samples to the audio system. • Playback and reading the next data frame must be overlapped to ensure continuous operation. • The details of playback depend on the hardware platform selected, but will probably involve a DMA transfer. 5.11.8) System architecture • The audio controller includes two processors. • The 32-bit RISC processor is used to perform system control and audio decoding. • The 16-bit DSP is used to perform audio effects such as equalization. • The memory controller can be interfaced to several different types of memory. • Flash memory can be used for data or code storage. • DRAM can be used to handle temporary disruptions of the CD data stream. • The audio interface unit puts out audio in formats that can be used by A/D converters. • General- purpose I/O pins can be used to decode buttons, run displays. 5.11.9) Component design and testing • The audio output system should be tested separately from the compression system. • Testing of audio decompression requires sample audio files. • The standard file system can either implement in a DOS FAT or a new file system. • While a non-standard file system may be easier to implement on the device, it also requires software to create the file system. • The file system and user interface can be tested independently . 5.11.10) System integration and debugging • It ensure that audio plays smoothly and without interruption. • Any file access and audio output that operate concurrently should be separately tested, ideally using an easily recognizable test signal.