IT-101 Section 001 Lecture #9 Introduction to Information Technology.

12
IT-101 Section 001 Lecture #9 Introduction to Information Technology

Transcript of IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Page 1: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

IT-101Section 001

Lecture #9

Introduction to Information Technology

Page 2: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Overview

Chapter 12 Digital Audio

Digitization of Audio Samples Quantization Reconstruction Quantization error

Page 3: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Digitization of Audio Samples

Audio signals are continuous in time and amplitude Audio signal must be digitized in both time and

amplitude to be represented in binary form. Discrete in time by sampling – Nyquist Discrete in amplitude by quantization

Once samples have been captured, they must be made discrete in amplitude.

The two step digitization process

Step 1: Sampling Step 2: Quantization

Step 2: Quantization

Page 4: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Quantization Quantization

Converts actual sample values (usually voltage measurements) into an integer approximation

Process of rounding off a continuous value so that it can be represented by a fixed number of binary digits

Tradeoff between number of bits required and error Human perception limitations affect allowable error Specific application affects allowable error

Two approaches to quantization Rounding the sample to the closest integer.

(e.g. round 3.14 to 3) Create a Quantizer table that generates a staircase

pattern of values based on a step size.

Page 5: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Consider an audio signal with a voltage range between -10 and +10

Assume the audio waveform has already been time sampled, as shown

How can the amplitude also be converted into discrete values?

Page 6: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

For this example, let’s choose to represent each sample by 4 bits There are an infinite number of voltages between -10 and 10. We will have to assign a range of voltages to each 4-bit codeword. There will be 16 steps. Why? How large will each step be?

Page 7: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Reconstruction

Analog-to-Digital Converter (ADC) provides the sampled and quantized binary code.

Digital-to-Analog Converter (DAC) converts the quantized binary code back into an approximation of the analog signal by clocking the code to the same sample rate as the ADC conversion.

Quantization and Reconstruction example on next two slides:

Page 8: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

QUANTIZATION

Page 9: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

RECONSTRUCTION

Page 10: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Quantization Error

After quantization, some information is lost Errors (noise) introduced The difference between the original sample value and

the rounded value is called the quantization error A signal to noise ratio (SNR) is the ratio of the relative

sizes of the signal values and the errors. The higher the SNR, the smaller the average error is

with respect to the signal value, and the better the fidelity.

Quantization is only an approximation.

Page 11: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Comments for next class

Chapter 13 The Telephone System: wired and

wireless Analog Telephone system Digital telephone system Cellular telephone system

Page 12: IT-101 Section 001 Lecture #9 Introduction to Information Technology.

Chapters Read So Far

Everyone should have read the following chapters thus far:

Chapter 1: What is the Information in the Information Revolution?

Chapter 3: Representing Information in Bits Chapter 4: The Need and Basis for Data Protocols Chapter 5: From the Real World to Images and Video Chapter 7: Compressing Information Chapter 8: Image Compression Chapter 9: Digital Video Chapter 10: Audio as Information Chapter 11: Sampling of Audio Signals Chapter 12: Digital Audio

Information Technology Inside and Outside