Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.

Slides:



Advertisements
Similar presentations
Analog to digital conversion
Advertisements

EET260: A/D and D/A conversion
EET260 Introduction to digital communication
Bandwidth part 1 What does it mean? Different things to different people.
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.
A Dan Turkel Production. What is sound?  Sound is a wave of pressure oscillation. Sound is measured in amplitude (the height of the wave, how loud it.
Digital Signal Processing
Analogue to Digital Conversion (PCM and DM)
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
The Illinois Society of Electroneurodiagnostic Technologists (ISET) Fall Meeting: Electronics Crash Course for Technologists Saturday, November 9, 2013.
Digital Fundamentals Tenth Edition Floyd Chapter 12.
Analog-to-digital Conversion and Digital-to-analog Conversion (with DSP) ES-3.
4-Integrating Peripherals in Embedded Systems (cont.)
Analog/Digital Coding Bobby Geevarughese ECE-E4434/12/05.
CHAPTER 4 DIGITAL MODULATION Part 1.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Analogue to Digital Conversion
Introduction to Data Conversion
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
EET260: A/D and D/A converters
JF 12/04111 BSC Data Acquisition and Control Data Representation Computers use base 2, instead of base 10: Internally, information is represented by binary.
Pulse Code Modulation Lecture 5.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (3)
1 Digitisation Conversion of a continuous electrical signal to a digitally sampled signal Analog-to-Digital Converter (ADC) Sampling rate/frequency, e.g.
EKT343 –Principle of Communication Engineering
Light to Electricity: lines begin and end in black (low signal level) called Blanking between blanking is the active video scanning is precisely controlled.
Fundamentals of Digital Audio. The Central Problem n Waves in nature, including sound waves, are continuous: Between any two points on the curve, no matter.
Chapter 4 Digital Transmission
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Sampling Theory. Time domain Present a recurring phenomena as amplitude vs. time  Sine Wave.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
 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 =
Fundamentals of...Fundamentals of... Fundamentals of Digital Audio.
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
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.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
LE 460 L Acoustics and Experimental Phonetics L-13
Lecture # 22 Audition, Audacity & Sound Editing Sound Representation.
AUDIO COMPRESSION msccomputerscience.com. The process of digitizing audio signals is called PCM PCM involves sampling audio signal at minimum rate which.
1 4-Integrating Peripherals in Embedded Systems (cont.)
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
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 Composite Signals and Fourier Series To approximate a square wave with frequency f and amplitude A, the terms of the series are as follows: Frequencies:
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
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
Fundamentals of Audio Production. Chapter 3 1 Fundamentals of Audio Production Chapter Three: Digital Audio.
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
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.
Maj Jeffrey Falkinburg Room 2E46E
COMPUTER NETWORKS and INTERNETS
Digital Communication
Multimedia Systems and Applications
Chapter 3 Sampling.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Digital Control Systems Waseem Gulsher
Chapter 2 Signal Sampling and Quantization
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Digital Control Systems Waseem Gulsher
J.-B. Seo, S. Srirangarajan, S.-D. Roy, and S. Janardhanan
COMS 161 Introduction to Computing
Presentation transcript:

Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion

Fall 2004EE 3563 Digital Systems Design Audio Basics - Analog to Digital Conversion  Process of digitizing a signal (such as music)  Human hearing range is roughly 20 Hz to 20 KHz  CD’s are sampled at 44,100 Hz – that’s no coincidence  Nyquist Theorem – Must sample at a minimum of twice the highest frequency –If not, undesirable aliasing will occur Music ADCQuantizer LPF Clock – Sampling Rate Samples

Fall 2004EE 3563 Digital Systems Design Audio Basics - Analog to Digital Conversion  LPF – Low Pass Filter – used to remove frequencies higher than the Nyquist rate –It’s like turning down the treble on your stereo  Clock is the sampling rate  If clock is 44.1 KHz, then the LPF should remove all frequencies above KHz –In practice, you need a little extra removed, so 20 KHz is the cutoff  Sampling rate determines the frequency response –Too low and it will sound like an AM radio –Tradeoff is in data storage space Music ADCQuantizer LPF Clock – Sampling Rate Samples

Fall 2004EE 3563 Digital Systems Design Audio Basics - Analog to Digital Conversion  The Analog to Digital Converter gets a sample every time the clock ticks  The sample is passed on to a quantizer  The quantizer outputs a number corresponding to the amplitude of the music at that point  The range of values depends upon how many bits per sample  For CD quality, 16 bits are used ( to )  For voice quality, 8 bits are used (-128 to +127) Music ADCQuantizer LPF Clock – Sampling Rate Samples

Fall 2004EE 3563 Digital Systems Design Audio Basics - Analog to Digital Conversion  The fewer the bits, the larger the quantization error, resulting in lower quality  Suppose you gave the teller $93 and asked for change –Suppose she only had twenties (5 steps) – the “quantization” error would be $13 –Suppose she had tens (10 steps) – the error would be $3  The tradeoff is in the amount of data to store  CD Quality: 2 channels * 16 bits/sample * samples/sec –= bytes/sec  Voice Quality: 1 channel * 8 bits/sample * 8000 samples/sec –= 8000 bytes/sec Music ADCQuantizer LPF Clock – Sampling Rate Samples

Fall 2004EE 3563 Digital Systems Design Audio Basics - Analog to Digital Conversion  The sampling rate and the number of bits/sample together determine the overall fidelity Music ADCQuantizer LPF Clock – Sampling Rate Samples

Fall 2004EE 3563 Digital Systems Design Audio Basics - Aliasing  Aliasing occurs when the sampling frequency is below the Nyquist rate  It manifests itself as low frequency noise  Sampling at Nyquist frequency  Sampling below Nyquist frequency

Fall 2004EE 3563 Digital Systems Design Audio Basics – Example Waveform

Fall 2004EE 3563 Digital Systems Design Audio Basics – Example Waveform

Fall 2004EE 3563 Digital Systems Design Audio Basics – Example Waveform 1/5000 th second Note the “squareness”

Fall 2004EE 3563 Digital Systems Design Audio Basics – Analog to Digital Converter A basic Analog to Digital Converter (ADC) is shown Note that these comparators are ANALOG comparators The voltage at each point along the ladder drops The comparator output is high when analog input voltage exceeds the reference voltage There is an 8-bit priority encoder internally to produce the digital output

Fall 2004EE 3563 Digital Systems Design Audio Basics - Digital to Analog Conversion  For converting back to music, the process is reversed  The LPF is required on the output because it has a staircase shape –In reality, a staircase shape is composed of an infinite number of sine waves of increasing frequency –These frequencies must be removed or the output will be noisy MusicDACLPF Clock – Sampling Rate Samples

Fall 2004EE 3563 Digital Systems Design Digital to Analog Converter  There is a resistive ladder that must be very precise  Each of the switches is essentially a mux that switches between the reference voltage and ground  The final output is called a summing amplifier – it is simply an analog adder