SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.

Slides:



Advertisements
Similar presentations
EET260: A/D and D/A conversion
Advertisements

Analog Representations of Sound Magnified phonograph grooves, viewed from above: When viewed from the side, channel 1 goes up and down, and channel 2 goes.
Tamara Berg Advanced Multimedia
Analogue to Digital Conversion (PCM and DM)
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
CE 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Analog to Digital (and back again) Interfacing a microprocessor-based system.
4-Integrating Peripherals in Embedded Systems (cont.)
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
CHAPTER 4 DIGITAL MODULATION Part 1.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Continuous Time Signals A signal represents the evolution of a physical quantity in time. Example: the electric signal out of a microphone. At every time.
Quantization Prof. Siripong Potisuk.
School of Computing Science Simon Fraser University
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 5 Introduction to Networks and the Internet.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 4 Introduction to Networks and the Internet.
Spatial and Temporal Data Mining
Communication Systems
Digital Voice Communication Link EE 413 – TEAM 2 April 21 st, 2005.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
EKT343-Principles of Communication Engineering
Core 3: Communication Systems. Encoding and decoding analog and digital signals…  Encoding involves converting data from its original form into another.
Chapter 4 Digital Transmission
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
MDIA 308 Digital technologies. Converting analog to digital ADC – analog to digital conversion An analog voltage is converted in binary code Binary =
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
Formatting and Baseband Modulation
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
CSC361/661 Digital Media Spring 2002
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Pulse Code Modulation (PCM)
ECE 4710: Lecture #9 1 PCM Noise  Decoded PCM signal at Rx output is analog signal corrupted by “noise”  Many sources of noise:  Quantizing noise »Four.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Chapter #5 Pulse Modulation
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
Digital Transmission Outlines:- Multiplexing FDM TDM WDM
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
Chapter 4 Digital Transmission. 4.2 Summary Line Coding Line Coding Schemes Block Coding Scrambling Signal Element versus data element Multilevel : 2b1Q.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Fundamentals of Audio Production. Chapter 3 1 Fundamentals of Audio Production Chapter Three: Digital Audio.
PAM Modulation Lab#3. Introduction An analog signal is characterized by the fact that its amplitude can take any value over a continuous range. On the.
By: Logan Sealover  Analog-to-Digital Conversion (ADC)  Digital-to-Analog Conversion (DAC)  History of Class D Amplifiers  Audio Amplifier Classes.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Microprocessors Data Converters Analog to Digital Converters (ADC)
Analog to digital conversion
UNIT – III I: Digital Transmission.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Quantization and Encoding
Dr. Clincy Professor of CS
Lecture 9: Sampling & PAM 1st semester By: Elham Sunbu.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Soutenance de thèse vendredi 24 novembre 2006, Lorient
Chapter 3: Pulse Code Modulation
Digital Control Systems Waseem Gulsher
Sampling and Quantization
COMS 161 Introduction to Computing
Presentation transcript:

SIMS-201 Audio Digitization

2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error

3  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 (in previous lecture) Step 2: Quantization

4  Quantization Quantization Converts actual amplitude 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.

5 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?

6 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?

7 A CD Player Example Please read the full example on Page 176 (Chapter 12) in the book Sampling Music at recording studios follow audio industry standard for highest frequency (bandwidth) = 20kHz Thus minimum (Nyquist) sampling rate is 40kHz (or samples per second). Audio industry oversamples a little – using to be on safe side. Quantization CD’s use 16 bits to represent each sample – total of 2 16 = possible samples (unique combinations/codes) on one CD. Each channel is converted into bits at rate of: samples/sec * 16 bits/sample = bits/sec 60 minutes * 60 secs/min * bits/sec * 2 channels (stereo) = bits = MB (about the size of on CD) Exercise Please right click on any.MP3 file and go to Properties | Summary and review the Bit Rate and Audio sample rate.

8  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 (reverses the quantization process) by clocking the code to the same sample rate as the ADC conversion. Quantization and Reconstruction example on next two slides:

9 QUANTIZATION

10 RECONSTRUCTION

11  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.

12 Other Applications In addition to digital audio for entertainment purposes, there are many applications of discredited audio signals: Most telephone calls digitized, and reconstructed during transmission Because digitized signals are more efficient in terms of system bandwidth, they are the choice for any application involving expensive communication resources such as satellite links Because info in digital form is much more amendable to encryption and encoding, digital audio is used for military and other secure applications.

13 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 (please read) Chapter 9: Digital Video (please read) Chapter 10: Audio as Information Chapter 11: Sampling of Audio Signals Chapter 12: Digital Audio Information Technology Inside and Outside