SlideShare une entreprise Scribd logo
1  sur  16
Department of Computer Engineering
University of California at Santa Cruz
MPEG Audio Compression Layer 3 (MP3)
Hai Tao
Department of Computer Engineering
University of California at Santa Cruz
History
MP3 originally developed by Fraunhofer IIS partly under EUREKA
project EU147, Digital Audio Broadcasting (DAB). Then adopted as
ISO-MPEG Audio Layer-3 (1991, There are Layer 1 and 2 also)
For 44.1 KHz sampling, stereo 16 bit audio, the bit rate is
44100x2x16=1.41Mbit/s, Using MP3, good quality sound can be
achieved even with >1:24 compression ration
Layer 3 is the most advanced in all three methods
1:4 by Layer 1 (corresponds to 384 kbps for a stereo
signal),
1:6...1:8 by Layer 2 (corresponds to 256..192 kbps for a stereo
signal),
1:10...1:1
2
by Layer 3 (corresponds to 128..112 kbps for a stereo
signal),
Department of Computer Engineering
University of California at Santa Cruz
Performance
Typical performance for various sources
sound quality bandwidth mode bitrate reduction ratio
telephone sound 2.5 kHz mono 8 kbps * 96:1
better than short wave 4.5 kHz mono 16 kbps 48:1
better than AM radio 7.5 kHz mono 32 kbps 24:1
similar to FM radio 11 kHz stereo 56...64 kbps 26...24:1
near-CD 15 kHz stereo 96 kbps 16:1
CD >15 kHz stereo 112..128kbps 14..12:1
Department of Computer Engineering
University of California at Santa Cruz
Basic Diagram
Department of Computer Engineering
University of California at Santa Cruz
Psycho-Acoustic Perceptual Model
The basic perceptual model used in MP3 is that louder
frequencies mask out adjacent quieter ones. People can not
hear a quiet sound at one frequency if there is a loud sound
at another
This can be explained better by the following figures
presented by Rapha Depke
Department of Computer Engineering
University of California at Santa Cruz
Audio perception
Human perception of audio signal
Department of Computer Engineering
University of California at Santa Cruz
Perceptual model
People can not hear a quiet sound at one frequency if there
is a loud sound at another
Department of Computer Engineering
University of California at Santa Cruz
Perceptual model
The louder the sound, the larger the mask area
The bottom area is called absolute threshold of hearing
(ATH), defining the weakest sound that can be heard
Department of Computer Engineering
University of California at Santa Cruz
Filter Banks
The audio signal passes through 32 filters with different
frequency
Department of Computer Engineering
University of California at Santa Cruz
Dominant band and the mask
Dominant band is found and the corresponding mask is
applied
Department of Computer Engineering
University of California at Santa Cruz
Quantization of Audible Sound
The components exceed the mask are quantized and
encoded using the Huffman coding method
Department of Computer Engineering
University of California at Santa Cruz
Joint Stereo
Joint stereo coding takes advantage of the fact that both
channels of a stereo channel pair contain similar
information
These stereophonic irrelevancies and redundancies are
exploited to reduce the total bitrate
Joint stereo is used in cases where only low bitrates are
available but stereo signals are desired.
Department of Computer Engineering
University of California at Santa Cruz
Encoder
A typical solution has two nested iteration loops
• Distortion/Noise control loop (outer loop)
• Rate control loop (inner loop)
Department of Computer Engineering
University of California at Santa Cruz
Rate control loop
For a given bit rate allocation, adjust the quantization steps
to achieve the bit rate.
• This loop checks if the number of bits resulting from the coding
operation exceeds the number of bits available to code a given
block of data.
• If it is true, then the quantization step is increased to reduce the
total bits. This can be achieved by adjusting the global gain
Department of Computer Engineering
University of California at Santa Cruz
Distortion control loop
This loop shape the quantization steps according to the
perceptual mask threshold
• Start with a default factor 1.0 for every band
• If the quantization error in a band exceeds the mask threshold, the
scale factor is adjusted to reduce this quantization error
• This will cause more bits and the rate control loop has to be
invoked every time the scale factors are changed
• The distortion control is executed until the noise level is below the
perceptual mask for every band
Department of Computer Engineering
University of California at Santa Cruz
Decoder
Decoder side relatively easier. The gain, scale factor,
quantization steps recovered and used for reconstruct the
filter bank responses
Filter bank responses are combined to reconstruct the
decoded audio signal

Contenu connexe

Tendances

Data compression introduction
Data compression introductionData compression introduction
Data compression introduction
Rahul Khanwani
 
Data compression huffman coding algoritham
Data compression huffman coding algorithamData compression huffman coding algoritham
Data compression huffman coding algoritham
Rahul Khanwani
 

Tendances (20)

Digital Video And Compression
Digital Video And CompressionDigital Video And Compression
Digital Video And Compression
 
Data compression introduction
Data compression introductionData compression introduction
Data compression introduction
 
Data compression huffman coding algoritham
Data compression huffman coding algorithamData compression huffman coding algoritham
Data compression huffman coding algoritham
 
Video Compression
Video CompressionVideo Compression
Video Compression
 
Video Compression Basics
Video Compression BasicsVideo Compression Basics
Video Compression Basics
 
Linear Predictive Coding
Linear Predictive CodingLinear Predictive Coding
Linear Predictive Coding
 
Source coding
Source coding Source coding
Source coding
 
Text compression
Text compressionText compression
Text compression
 
Chap 3 data and signals
Chap 3 data and signalsChap 3 data and signals
Chap 3 data and signals
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Turbo code
Turbo codeTurbo code
Turbo code
 
Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streaming
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Audio compression
Audio compression Audio compression
Audio compression
 
Mpeg 2
Mpeg 2Mpeg 2
Mpeg 2
 
Digital communication unit II
Digital communication unit IIDigital communication unit II
Digital communication unit II
 
UNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODINGUNIT-3 : CHANNEL CODING
UNIT-3 : CHANNEL CODING
 
Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)Compression: Video Compression (MPEG and others)
Compression: Video Compression (MPEG and others)
 
Hdtv technology
Hdtv technologyHdtv technology
Hdtv technology
 

En vedette

MPEG-DASH Conformance and Reference Software
MPEG-DASH Conformance and Reference SoftwareMPEG-DASH Conformance and Reference Software
MPEG-DASH Conformance and Reference Software
Alpen-Adria-Universität
 
Brand behavior - portable mp3 player by anubhab & krishna - IWSB
Brand behavior - portable mp3 player by anubhab & krishna - IWSBBrand behavior - portable mp3 player by anubhab & krishna - IWSB
Brand behavior - portable mp3 player by anubhab & krishna - IWSB
krishnareddy0316
 

En vedette (12)

Mpeg ARAF tutorial @ ISMAR 2014
Mpeg ARAF tutorial @ ISMAR 2014Mpeg ARAF tutorial @ ISMAR 2014
Mpeg ARAF tutorial @ ISMAR 2014
 
Adobe Education Exchange Spotlight : Float! A global collaborative project f...
Adobe Education Exchange Spotlight :  Float! A global collaborative project f...Adobe Education Exchange Spotlight :  Float! A global collaborative project f...
Adobe Education Exchange Spotlight : Float! A global collaborative project f...
 
Mp3 And Mp4
Mp3 And Mp4Mp3 And Mp4
Mp3 And Mp4
 
MPEG-DASH Conformance and Reference Software
MPEG-DASH Conformance and Reference SoftwareMPEG-DASH Conformance and Reference Software
MPEG-DASH Conformance and Reference Software
 
Project presentation1
Project presentation1Project presentation1
Project presentation1
 
Tutorial MPEG 3D Graphics
Tutorial MPEG 3D GraphicsTutorial MPEG 3D Graphics
Tutorial MPEG 3D Graphics
 
Mpeg v-awareness event
Mpeg v-awareness eventMpeg v-awareness event
Mpeg v-awareness event
 
MPEG Augmented Reality Tutorial
MPEG Augmented Reality TutorialMPEG Augmented Reality Tutorial
MPEG Augmented Reality Tutorial
 
Brand behavior - portable mp3 player by anubhab & krishna - IWSB
Brand behavior - portable mp3 player by anubhab & krishna - IWSBBrand behavior - portable mp3 player by anubhab & krishna - IWSB
Brand behavior - portable mp3 player by anubhab & krishna - IWSB
 
Calculator design with lcd using fpga
Calculator design with lcd using fpgaCalculator design with lcd using fpga
Calculator design with lcd using fpga
 
Slideshare ภาษาไทย
Slideshare ภาษาไทยSlideshare ภาษาไทย
Slideshare ภาษาไทย
 
Introduction To Software Engineering
Introduction To Software EngineeringIntroduction To Software Engineering
Introduction To Software Engineering
 

Similaire à Mp3

The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
DJNila
 
Io ct part2-23audioreproduction-lr
Io ct part2-23audioreproduction-lrIo ct part2-23audioreproduction-lr
Io ct part2-23audioreproduction-lr
victor_torres_g
 

Similaire à Mp3 (20)

A1mpeg12 2004
A1mpeg12 2004A1mpeg12 2004
A1mpeg12 2004
 
Audio_Overview.pptx
Audio_Overview.pptxAudio_Overview.pptx
Audio_Overview.pptx
 
Sound digitalisation
Sound digitalisationSound digitalisation
Sound digitalisation
 
Digital audio
Digital audioDigital audio
Digital audio
 
Multimedia Compression and Communication
Multimedia Compression and CommunicationMultimedia Compression and Communication
Multimedia Compression and Communication
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Audio Compression_2023.pptx
Audio Compression_2023.pptxAudio Compression_2023.pptx
Audio Compression_2023.pptx
 
Speaker Segmentation (2006)
Speaker Segmentation (2006)Speaker Segmentation (2006)
Speaker Segmentation (2006)
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
add9.5.ppt
add9.5.pptadd9.5.ppt
add9.5.ppt
 
PHOENIX AUDIO TECHNOLOGIES - A large Audio Signal Algorithm Portfolio
PHOENIX AUDIO TECHNOLOGIES  - A large Audio Signal Algorithm PortfolioPHOENIX AUDIO TECHNOLOGIES  - A large Audio Signal Algorithm Portfolio
PHOENIX AUDIO TECHNOLOGIES - A large Audio Signal Algorithm Portfolio
 
Soundpres
SoundpresSoundpres
Soundpres
 
Optical recording system
Optical recording systemOptical recording system
Optical recording system
 
Io ct part2-23audioreproduction-lr
Io ct part2-23audioreproduction-lrIo ct part2-23audioreproduction-lr
Io ct part2-23audioreproduction-lr
 
M1L1-2.ppt
M1L1-2.pptM1L1-2.ppt
M1L1-2.ppt
 
An audio quality evaluation of digital radio system
An audio quality evaluation of digital radio systemAn audio quality evaluation of digital radio system
An audio quality evaluation of digital radio system
 
An audio quality evaluation of digital radio system
An audio quality evaluation of digital radio systemAn audio quality evaluation of digital radio system
An audio quality evaluation of digital radio system
 
Speech Analysis and synthesis using Vocoder
Speech Analysis and synthesis using VocoderSpeech Analysis and synthesis using Vocoder
Speech Analysis and synthesis using Vocoder
 
Sampling rate bit depth
Sampling rate bit depthSampling rate bit depth
Sampling rate bit depth
 
Digital audio
Digital audioDigital audio
Digital audio
 

Dernier

Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Dernier (20)

Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 

Mp3

  • 1. Department of Computer Engineering University of California at Santa Cruz MPEG Audio Compression Layer 3 (MP3) Hai Tao
  • 2. Department of Computer Engineering University of California at Santa Cruz History MP3 originally developed by Fraunhofer IIS partly under EUREKA project EU147, Digital Audio Broadcasting (DAB). Then adopted as ISO-MPEG Audio Layer-3 (1991, There are Layer 1 and 2 also) For 44.1 KHz sampling, stereo 16 bit audio, the bit rate is 44100x2x16=1.41Mbit/s, Using MP3, good quality sound can be achieved even with >1:24 compression ration Layer 3 is the most advanced in all three methods 1:4 by Layer 1 (corresponds to 384 kbps for a stereo signal), 1:6...1:8 by Layer 2 (corresponds to 256..192 kbps for a stereo signal), 1:10...1:1 2 by Layer 3 (corresponds to 128..112 kbps for a stereo signal),
  • 3. Department of Computer Engineering University of California at Santa Cruz Performance Typical performance for various sources sound quality bandwidth mode bitrate reduction ratio telephone sound 2.5 kHz mono 8 kbps * 96:1 better than short wave 4.5 kHz mono 16 kbps 48:1 better than AM radio 7.5 kHz mono 32 kbps 24:1 similar to FM radio 11 kHz stereo 56...64 kbps 26...24:1 near-CD 15 kHz stereo 96 kbps 16:1 CD >15 kHz stereo 112..128kbps 14..12:1
  • 4. Department of Computer Engineering University of California at Santa Cruz Basic Diagram
  • 5. Department of Computer Engineering University of California at Santa Cruz Psycho-Acoustic Perceptual Model The basic perceptual model used in MP3 is that louder frequencies mask out adjacent quieter ones. People can not hear a quiet sound at one frequency if there is a loud sound at another This can be explained better by the following figures presented by Rapha Depke
  • 6. Department of Computer Engineering University of California at Santa Cruz Audio perception Human perception of audio signal
  • 7. Department of Computer Engineering University of California at Santa Cruz Perceptual model People can not hear a quiet sound at one frequency if there is a loud sound at another
  • 8. Department of Computer Engineering University of California at Santa Cruz Perceptual model The louder the sound, the larger the mask area The bottom area is called absolute threshold of hearing (ATH), defining the weakest sound that can be heard
  • 9. Department of Computer Engineering University of California at Santa Cruz Filter Banks The audio signal passes through 32 filters with different frequency
  • 10. Department of Computer Engineering University of California at Santa Cruz Dominant band and the mask Dominant band is found and the corresponding mask is applied
  • 11. Department of Computer Engineering University of California at Santa Cruz Quantization of Audible Sound The components exceed the mask are quantized and encoded using the Huffman coding method
  • 12. Department of Computer Engineering University of California at Santa Cruz Joint Stereo Joint stereo coding takes advantage of the fact that both channels of a stereo channel pair contain similar information These stereophonic irrelevancies and redundancies are exploited to reduce the total bitrate Joint stereo is used in cases where only low bitrates are available but stereo signals are desired.
  • 13. Department of Computer Engineering University of California at Santa Cruz Encoder A typical solution has two nested iteration loops • Distortion/Noise control loop (outer loop) • Rate control loop (inner loop)
  • 14. Department of Computer Engineering University of California at Santa Cruz Rate control loop For a given bit rate allocation, adjust the quantization steps to achieve the bit rate. • This loop checks if the number of bits resulting from the coding operation exceeds the number of bits available to code a given block of data. • If it is true, then the quantization step is increased to reduce the total bits. This can be achieved by adjusting the global gain
  • 15. Department of Computer Engineering University of California at Santa Cruz Distortion control loop This loop shape the quantization steps according to the perceptual mask threshold • Start with a default factor 1.0 for every band • If the quantization error in a band exceeds the mask threshold, the scale factor is adjusted to reduce this quantization error • This will cause more bits and the rate control loop has to be invoked every time the scale factors are changed • The distortion control is executed until the noise level is below the perceptual mask for every band
  • 16. Department of Computer Engineering University of California at Santa Cruz Decoder Decoder side relatively easier. The gain, scale factor, quantization steps recovered and used for reconstruct the filter bank responses Filter bank responses are combined to reconstruct the decoded audio signal