Audio Compression. Audio Compression. Absolute Threshold. CD quality audio:

Similar documents
Audio-coding standards

5: Music Compression. Music Coding. Mark Handley

Mpeg 1 layer 3 (mp3) general overview

Audio-coding standards

Multimedia Communications. Audio coding

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal.

Chapter 14 MPEG Audio Compression

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects.

Fundamentals of Perceptual Audio Encoding. Craig Lewiston HST.723 Lab II 3/23/06

Figure 1. Generic Encoder. Window. Spectral Analysis. Psychoacoustic Model. Quantize. Pack Data into Frames. Additional Coding.

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding

Optical Storage Technology. MPEG Data Compression

Principles of Audio Coding

Audio Fundamentals, Compression Techniques & Standards. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Lecture 16 Perceptual Audio Coding

Audio Coding and MP3

Audio and video compression

MPEG-1. Overview of MPEG-1 1 Standard. Introduction to perceptual and entropy codings

Audio Coding Standards

EE482: Digital Signal Processing Applications

Appendix 4. Audio coding algorithms

AUDIOVISUAL COMMUNICATION

2.4 Audio Compression

CISC 7610 Lecture 3 Multimedia data and data formats

ELL 788 Computational Perception & Cognition July November 2015

AUDIOVISUAL COMMUNICATION

DRA AUDIO CODING STANDARD

Principles of MPEG audio compression

Compression; Error detection & correction

Ch. 5: Audio Compression Multimedia Systems

What is multimedia? Multimedia. Continuous media. Most common media types. Continuous media processing. Interactivity. What is multimedia?

Lossy compression. CSCI 470: Web Science Keith Vertanen

MPEG-4 General Audio Coding

Data Compression. Audio compression

Multimedia. What is multimedia? Media types. Interchange formats. + Text +Graphics +Audio +Image +Video. Petri Vuorimaa 1

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013

JPEG: An Image Compression System. Nimrod Peleg update: Nov. 2003

Parametric Coding of Spatial Audio

Parametric Coding of High-Quality Audio

/ / _ / _ / _ / / / / /_/ _/_/ _/_/ _/_/ _\ / All-American-Advanced-Audio-Codec

DSP. Presented to the IEEE Central Texas Consultants Network by Sergio Liberman

ITNP80: Multimedia! Sound-II!

MPEG-l.MPEG-2, MPEG-4

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Senior Manager, CE Technology Dolby Australia Pty Ltd

Speech and audio coding

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY ACADEMIC YEAR / ODD SEMESTER QUESTION BANK

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Snr Staff Eng., Team Lead (Applied Research) Dolby Australia Pty Ltd

Port of a fixed point MPEG2-AAC encoder on a ARM platform

Video Compression MPEG-4. Market s requirements for Video compression standard

Lecture Information. Mod 01 Part 1: The Need for Compression. Why Digital Signal Coding? (1)

DVB Audio. Leon van de Kerkhof (Philips Consumer Electronics)

Lecture Information Multimedia Video Coding & Architectures

Compression Part 2 Lossy Image Compression (JPEG) Norm Zeck

Compression; Error detection & correction

Networking Applications

Module 9 AUDIO CODING. Version 2 ECE IIT, Kharagpur

Chapter 4: Audio Coding

CSCD 443/533 Advanced Networks Fall 2017

Introduction to Video Compression

CS 074 The Digital World. Digital Audio

Video Compression An Introduction

Audio coding for digital broadcasting

For Mac and iphone. James McCartney Core Audio Engineer. Eric Allamanche Core Audio Engineer

Image, video and audio coding concepts. Roadmap. Rationale. Stefan Alfredsson. (based on material by Johan Garcia)

ARM MPEG-4 AAC LC Decoder Technical Specification

The MPEG-4 General Audio Coder

HAVE YOUR CAKE AND HEAR IT TOO: A HUFFMAN CODED, BLOCK SWITCHING, STEREO PERCEPTUAL AUDIO CODER

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

Compressed Audio Demystified by Hendrik Gideonse and Connor Smith. All Rights Reserved.

Digital Video Processing

<< WILL FILL IN THESE SECTIONS THIS WEEK to provide sufficient background>>

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

MP3. Panayiotis Petropoulos

Contents. 3 Vector Quantization The VQ Advantage Formulation Optimality Conditions... 48

Lecture 3 Image and Video (MPEG) Coding

Efficient Representation of Sound Images: Recent Developments in Parametric Coding of Spatial Audio

Interframe coding A video scene captured as a sequence of frames can be efficiently coded by estimating and compensating for motion between frames pri

Rich Recording Technology Technical overall description

Speech-Coding Techniques. Chapter 3

CHAPTER 10: SOUND AND VIDEO EDITING

ITEC310 Computer Networks II

Bluray (

Digital video coding systems MPEG-1/2 Video

CT516 Advanced Digital Communications Lecture 7: Speech Encoder

The following bit rates are recommended for broadcast contribution employing the most commonly used audio coding schemes:

JPEG: An Image Compression System

Port of a Fixed Point MPEG-2 AAC Encoder on a ARM Platform

Aud-X 5.1 Help.

Implementation of a MPEG 1 Layer I Audio Decoder with Variable Bit Lengths

INTERNATIONAL ORGANISATION FOR STANDARDISATION ORGANISATION INTERNATIONALE DE NORMALISATION ISO/IEC JTC1/SC29/WG11 CODING OF MOVING PICTURES AND AUDIO

MUSIC A Darker Phonetic Audio Coder

AUDIO MEDIA CHAPTER Background

DAB. Digital Audio Broadcasting

_äìé`çêé. Audio Compression Codec Specifications and Requirements. Application Note. Issue 2

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

Lecture 7: Audio Compression & Coding

Video Coding Standards. Yao Wang Polytechnic University, Brooklyn, NY11201 http: //eeweb.poly.edu/~yao

Video coding. Concepts and notations.

INTERNATIONAL ORGANISATION FOR STANDARDISATION ORGANISATION INTERNATIONALE DE NORMALISATION ISO/IEC JTC1/SC29/WG11 CODING OF MOVING PICTURES AND AUDIO

1. Before adjusting sound quality

Transcription:

Audio Compression Audio Compression CD quality audio: Sampling rate = 44 KHz, Quantization = 16 bits/sample Bit-rate = ~700 Kb/s (1.41 Mb/s if 2 channel stereo) Telephone-quality speech Sampling rate = 8KHz Quantization = 16 bits/sample Bit rate = 128 Kb/s Absolute Threshold A tone is audible only if its power is above the absolute threshold level 1

Masking effect If a tone of a certain frequency and amplitude is present, the audibility threshold curve is changed Other tones or noise of similar frequency, but of much lower amplitude, are not audible Example 1 Example 2 330 300 Hz 300 500 Hz Masking Effect (Single Masker) Band n-1 Band n Band n+1 Requires fewer bits Requires more bits Masking Effect (Multiple Maskers) 2

Temporal Masking A loud tone of finite duration will mask a softer tone that follows it (for around 30 ms) A similar effect is verified also when the the softer tone precedes the louder tone!!! Perceptual Coding Perceptual coding tries to minimize the perceptual distortion in a transform coding scheme Basic concept: allocate more bits (more quantization levels, less error) to those channels that are most audible, fewer bits (more error) to those channels that are the least audible Needs to continuously analyze the signal to determine the current audibility threshold curve using a perceptual model Audio Coding: Main Standards MPEG (Motion Picture Expert Group) family (note: the standard only specifies the decoder!) MPEG-1 Layer 1 Layer 2 Layer 3 (MP-3) MPEG-2 Back-compatible AAC (non-back-compatible) Dolby AC3 3

MPEG-1 Audio Coder Layer 1 Deemed transparent at 384 Kb/s per channel Subband coding with 32 channels Input divided into groups of 12 input samples Coefficient normalization (extracts Scale Factor) For each block, chooses among 15 quantizers for perceptual quantization No entropy coding after transform coding Decoder is much simpler than encoder Intensity stereo mode Stereo effect of middle and high frequencies depends not so much on the different channel content but on the different channel amplitude Middle and upper subbands of the left and right channel are added together, and only the resulting summed samples are quantized The scale factor is sent for both channel so that amplitudes can be controlled independently during playback MPEG-1 Audio Coder (cont d) Layer 2 Transparent at 256 Kb/s per channel Improved perceptual model (more computationally intensive) Finer resolution quantizers Layer 3 (MP-3) Transparent at 96 Kb/s per channel Applies a variable-size modified DCT on the samples of each subband channel Uses non-uniform quantizers Has entopy coder (Huffman) - requires buffering! Much mode complex than Layer 1 and 2 4

MPEG-1 Layers 1 and 2 Audio Encoder/Decoder (Single Channel) MPEG-1 Layers 3 (MP-3) Audio Encoder/Decoder (Single Channel) Example Original sound (mono, 44.1 KHz, 16 b/s 705.6 Kb/s) Subsampled by 8 (without prefiltering) Subsampled by 8 (with prefiltering) Quantized to 2 b/s Coded using MP3 (64 Kb/s) Coded using MP3 (96 Kb/s) Coded using MP3 (32 Kb/s) 5

Middle-side Stereo Mode Frequency ranges that would normally be coded as left and right are instead coded as Middle (left+right) and Side (left-right) Side channel can be coded with fewer bits (because the two channels are highly correlated) MPEG-2 Audio Coder Backward compatible (i.e., MPEG-1 decoders can decode a portion of MPEG-2 bit-stream): Original goal: provide theater-style surroundsound capabilities Modes of operation: mono-aural stereo three channel (left, right and center) four channel (left, right, center and rear surround) five channel (four channel + center) Full five-channel surround stereo at 640 Kb/s MPEG-2 Audio Coder (Cont d) Non-backward compatible (AAC): At 320 Kb/s judged to be equivalent to MPEG-2 at 640 Kb/s for five-channels surround-sound Can operate with any number of channels (between 1 and 48) and output bit rate (from 8 Kb/s per channel to 182 Kb/s per channel) Sampling rate can be as low as 8Khz and as high as 96 KHz per channel 6

Dolby AC-3 Used in movie theaters as part of the Dolby digital film system Selected for the USA Digital TV (DTV) and DVD Bit-rate: 320 Kb/s for 5.1 stereo Uses 512-point Modified DCT (can be switched to 256-point) Floating-point conversion into exponent-mantissa pairs (mantissas quantized with variable number of bits) Does not transmit bit allocation but perceptual model parameters Dolby AC-3 Encoder PCM Samples Frequency Domain Transform Transform Coefficients Block Floating- Point Exponents Bit Allocation Bitstream Packing Encoded Audio Mantissas Mantissa Quantization Quantized Mantissas References B. Haskell, A. Puri, A. Netravali, Digital Video: An Introduction to MPEG-2, Chapman & Hall, 1997, pp. 55-79 7