Module 9 AUDIO CODING. Version 2 ECE IIT, Kharagpur

Similar documents
arxiv: v1 [cs.it] 9 Mar 2016

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Two-Dimensional Wavelets with Complementary Filter Banks

Lecture 17 z-transforms 2

Copyright S. K. Mitra

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

Module 3 : Sampling and Reconstruction Problem Set 3

DISCRETE FOURIER TRANSFORM AND FILTER DESIGN

Design and Simulation of Two Channel QMF Filter Bank using Equiripple Technique.

Sampling and Reconstruction of Analog Signals

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

Graphing Sine and Cosine

Laboratory Assignment 4. Fourier Sound Synthesis

MULTIRATE DIGITAL SIGNAL PROCESSING

Module 9: Multirate Digital Signal Processing Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School of Electrical Engineering &

Amplitude, Reflection, and Period

Final Exam Practice Questions for Music 421, with Solutions

Narrow-Band Low-Pass Digital Differentiator Design. Ivan Selesnick Polytechnic University Brooklyn, New York

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2025 Fall 1999 Lab #7: Frequency Response & Bandpass Filters

Frequency-Response Masking FIR Filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

An Equalization Technique for Orthogonal Frequency-Division Multiplexing Systems in Time-Variant Multipath Channels

Lecture 3 Complex Exponential Signals

Using the DFT as a Filter: Correcting a Misconception by Richard G. Lyons

5.1 Graphing Sine and Cosine Functions.notebook. Chapter 5: Trigonometric Functions and Graphs

Digital Signal Processing

APPLICATIONS OF DSP OBJECTIVES

ELECTRONOTES APPLICATION NOTE NO Hanshaw Road Ithaca, NY August 3, 2017

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

Experiment 4- Finite Impulse Response Filters

ECE 429 / 529 Digital Signal Processing

Audio Signal Performance Analysis using Integer MDCT Algorithm

6.02 Practice Problems: Modulation & Demodulation

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Signal processing preliminaries

Acoustics, signals & systems for audiology. Week 4. Signals through Systems

Multirate Signal Processing Lecture 7, Sampling Gerald Schuller, TU Ilmenau

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Signal Characteristics

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods

Multirate DSP, part 1: Upsampling and downsampling

TRANSFORMS / WAVELETS

Midterm 1. Total. Name of Student on Your Left: Name of Student on Your Right: EE 20N: Structure and Interpretation of Signals and Systems

Speech, music, images, and video are examples of analog signals. Each of these signals is characterized by its bandwidth, dynamic range, and the

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

MULTIPLE F0 ESTIMATION IN THE TRANSFORM DOMAIN

dtr q-1 Analysis/Synthesis Filter Bank Design Based on Time Domain Aliasing Cancellation

Discrete-Time Signal Processing (DSP)

Fourier Transform Pairs

Lecture 3, Multirate Signal Processing

Quantized Coefficient F.I.R. Filter for the Design of Filter Bank

Filters. Phani Chavali

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

Sampling and Signal Processing

Project 2 - Speech Detection with FIR Filters

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

Finite Word Length Effects on Two Integer Discrete Wavelet Transform Algorithms. Armein Z. R. Langi

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Design of FIR Filters

An Introduction to the FDM-TDM Digital Transmultiplexer: Appendix C *

Multirate Signal Processing

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Performance Analysis on frequency response of Finite Impulse Response Filter

Electrical & Computer Engineering Technology

Signals and Systems Lecture 9 Communication Systems Frequency-Division Multiplexing and Frequency Modulation (FM)

DISCRETE-TIME CHANNELIZERS FOR AERONAUTICAL TELEMETRY: PART II VARIABLE BANDWIDTH

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

ADSP ADSP ADSP ADSP. Advanced Digital Signal Processing (18-792) Spring Fall Semester, Department of Electrical and Computer Engineering

DFT: Discrete Fourier Transform & Linear Signal Processing

Linear Time-Invariant Systems

Interpolated Lowpass FIR Filters

Ready To Go On? Skills Intervention 14-1 Graphs of Sine and Cosine

George Mason University ECE 201: Introduction to Signal Analysis

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Continuous time and Discrete time Signals and Systems

Section 7.6 Graphs of the Sine and Cosine Functions

CHAPTER 5. Digitized Audio Telemetry Standard. Table of Contents

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

Problem Set 1 (Solutions are due Mon )

Speech Coding in the Frequency Domain

Timbral Distortion in Inverse FFT Synthesis

Laboratory Assignment 5 Amplitude Modulation

4. Design of Discrete-Time Filters

Subband Analysis of Time Delay Estimation in STFT Domain

System analysis and signal processing

Speech Synthesis using Mel-Cepstral Coefficient Feature

Frequency-Domain Sharing and Fourier Series

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Design and Implementation on a Sub-band based Acoustic Echo Cancellation Approach

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

DESIGN OF LATTICE FORM OPTICAL DELAY LINE STRUCTURE FOR MICROWAVE BAND PASS FILTER APPLICATIONS

Signals and Systems Using MATLAB

Audio Engineering Society Convention Paper Presented at the 110th Convention 2001 May Amsterdam, The Netherlands

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

Transcription:

Module 9 AUDIO CODING

Lesson 30 Polyphase filter implementation

Instructional Objectives At the end of this lesson, the students should be able to : 1. Show how a bank of bandpass filters can be realized through windowing and transform. 2. Justify why the filters implemented as above are known as polyphase filters 3. Describe the polyphase implementation of the analysis filter bank-in MPEG-1 audio 4. Describe the polyphase implementation of the synthesis filter bank in MPEG-1 audio. 30.0 Introduction In lesson 29, we had presented two approaches to analysis synthesis filter design. One is through a direct implementation of filter banks in time domain (through FIR filters) with overlapped frequency domain characteristics. Such filters require frequency domain alias correction by the proper design of adjacent filter bank characteristics. The second method windows the input samples and transforms those through DCT/DST. These filters require time domain alias correction, which we described in the previous lesson. We had also stated that the second approach leads to a better efficiency and has been adopted in the MPEG-1 audio coding standard. Although we had mentioned that a duality that exists between the time domain and frequency domain implementation, in this we shall analytically establish this duality for a better understanding of the polyphase analysis and synthesis filters. In this lesson, we are also going to present the implementation of these filters, as given in MPEG-1 standard. 30.1 Theory of Polyphase filters We have discussed in the previous lesson that the design of a multiband filter requires alias cancellation between adjacent bands and that the filter shapes be controlled such that the transition bands of adjacent filters add to produce a flat response. Following Rothwieter s approach [1], a filter bank fulfilling these requirements can be formed by first designing a low pass prototype filter with a controlled transition band frequency response. The filter bank can then be composed by multiplying the impulse response of the prototype low pass filter with a sinusoid having frequencies equal to the centre frequencies of the desired filters.

We assume the sampling frequency to be unity, so that the frequency range to be covered is 0 to π radians / sec. A bank of M filters to be synthesized as shown in fig 30.1. The nominal bandwidth of each filter is π/ M and the filter centre frequencies are at add multiples of π/2m. Real bandpass filters are composed of two complex filters F i (z) and G i (z) located respectively at the positive and negative centre frequencies. If the prototype lowpass filter is a FIR filter with impulse response h(n) and z- transform H(z) we can express F i (Z) and G i (Z) as ( ) ( ) jπ ( 2i+ 1) = (30.1) jπ ( 2i+ 1 ) = 2M Fi z H e z 2M Gi z H e z In equations (30.1), the complex filters in z-domain are derived by multiplying the Z with complex exponentials located of odd multiples of π/2m. We therefore obtain a band of filers with i=0,1.m-1 and the corresponding composite filters may be expressed as ( ) = ( ) + ( ) ( ) = ( ) + ( ) Hi z af i i z bg i i z K z cf z dg z i i i i i (30.2)

where a i, b i, c i and d i are complex constants. H i (Z) and K i (z) form the analysis and the synthesis filter banks respectively, as shown in fig 30.2 If ai * = b i,the impulse response of Hi is real and is given by i ( ) h n ( i ) π ( + )( + ) ( ) π ( )( ) Re a cos 2i 1 2n 1 / 4M = h( n).(30.3) Im ai sin 2i + 1 2n + 1 / 4M Replacing a i and b i with c i and d i, a corresponding equation results for k i (n). From equation (30.3), it is evident that the h i (n) contains odd number of half cycles of sinusoids in 2M points (n=0,1.., 2M-1) If the input samples are given by x(n), n=0,1,., then the filtered output of bank-i is given by the famous convolution equation l L 1 () = ( ) ( ) s i x l n h n n= 0 i.(30.4) where L is the length of the filtesr tap. Substituting equation (30.3) in (30.4) we obtain DCT/DST of the input samples, multiplied by the prototype low pass filter s impulse. The latter serves as the windowing of the time domain samples.

The equation (30.3) involving h i (n) clearly shows that the response of each band i is a modulation of the prototype response with a cosine term to shift the low pass response to the appropriate band. Hence, these are called polyphase filters. One efficient implementation of a polyphase filter bank is shown in fig.30.3. The input samples are first multiplied by lowpass prototype filter h(n). Blocks of 2M products of the multiplications are accumulated with the sign of alternate blocks negated. These 2M values are then multiplied by M sinusoids to generate the M output values. A typical response of low-pass prototype analysis filter h(n) is sketched in fig 30.4. Negating the signs of alternate blocks result in a net windowing function c(n) as sketched in fig 30.5.

For audio signals, since the flat response to DC is not required, the coefficient a i in equation (30.3) can be either pure real or pure imaginary. Hence, equation (30.3) contains either the sine terms or the cosine terms, but not both. In MPEG- 1, a modified discrete cosine transforms (MDCT) is applied to obtain M subband samples out of 2M words 30.2 Polyphase analysis filter for MPEG-1 audio Fig.30.6 shows the polyphase implementation of MPEG-1 analysis filter bank which is a variant of Rothweller s implementation described above. During the analysis, the audio signal is shifted into a 512 samples X buffer, 32 samples at a time.

Fig.30.6 Polyphase implementation of analysis filterbank. The content of X buffer are multiplied by the C-window function c(n) and the results are stored into the Z-buffer. The Z-buffer contents are divided into eight 64-element vectors (taking M=32), which are summed to form a 64-element Y- vector. The Y-vector is transformed using MDCT to yield the 32-subband samples. 30.3 Polyphase synthesis filter for MPEG-1 audio The synthesis filter shown in fig 30.7 performs exact reversal of the operations performed by the analysis filter. The 32 subband samples are transformed back to the 64 element V vector, using inverse MDCT (IMDCT). The V-vector is pushed into a FIFO which stores the last 16 V vectors. A U-vector is created from the alternate 32 component blocks and a window (called D-window) is applied to U to produce the W-vector, which is divided into 16 vectors, each having 32

values. These 16 vectors are added together to obtain 32 sample output. It may therefore be noted that the analysis synthesis filtering operation is critically sampled, since exactly 32-sampled output is obtained for 32-sampled input. 30.4 Conclusion In this lesson, we have learnt how a multi band filter can be implemented from a low-pass prototype filter using a polyphase approach, by modulating the low pass filter response with sinusoids having frequencies corresponding to the centre frequencies of the filter bank. The filter bank can be realized by windowing the samples, followed by a sinusoidal transformation. We are yet to learn how the subband samples are encoded to achieve audio compression. This will be our focus in lesson-31. References 1. J.H. Rothweller Polyphase Quandrature Filters A new subband coding technique, International Conference on Acoustic, Speech and Signal Processing (ICASSP), Boston, 1983, pp 1280-1283. 2. S. Shlien, Guide to MPEG-4 Audio Standard IEEE Transaction on Broadcasting, Vol. 40, No.4, December, 1994, pp 206-218.