Basics of Digital Audio Module (revised)

Slides:



Advertisements
Similar presentations
Analog to digital conversion
Advertisements

| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
EET260: A/D and D/A conversion
Digital Signal Processing
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
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.
©Alex Doboli 2006  Analog to Digital Converters Alex Doboli, Ph.D. Department of Electrical and Computer Engineering State University of New York at.
Digital Representation of Audio Information Kevin D. Donohue Electrical Engineering University of Kentucky.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
Quantization Prof. Siripong Potisuk.
Pulse Code Modulation Lecture 5.
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.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
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.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Digital Audio What do we mean by “digital”? How do we produce, process, and playback? Why is physics important? What are the limitations and possibilities?
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
DSP Techniques for Software Radio DSP Front End Processing Dr. Jamil Ahmad.
Sampling Terminology f 0 is the fundamental frequency (Hz) of the signal –Speech: f 0 = vocal cord vibration frequency (>=80Hz) –Speech signals contain.
DIGITAL VOICE NETWORKS ECE 421E Tuesday, October 02, 2012.
Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13.
CSC361/661 Digital Media Spring 2002
Digital Recording Theory Using Peak. Listening James Tenney, Collage #1 (“Blue Suede”),  Available in Bracken Library, on James Tenney Selected.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Professor: Dr. Miguel Alonso Jr.
Chapter #5 Pulse Modulation
Digital Transmission Outlines:- Multiplexing FDM TDM WDM
ECE 4710: Lecture #6 1 Bandlimited Signals  Bandlimited waveforms have non-zero spectral components only within a finite frequency range  Waveform is.
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 Quantization Error Analysis Author: Anil Pothireddy 12/10/ /10/2002.
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
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
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.
Fundamentals of Multimedia Chapter 6 Basics of Digital Audio Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
Audio sampling as an example of analogue to digital Mr S McIntosh.
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.
Digital Signal Processing
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Sistem Telekomunikasi, Sukiswo, ST, MT Sukiswo
Analog to digital conversion
Fri. Oct 13 Announcements Lab practical next week
Chapter 3 Sampling.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
High Resolution Digital Audio
Lecture Signals with limited frequency range
Announcements: Poll for discussion section and OHs: please respond
Fundamentals Data.
Chapter 2 Signal Sampling and Quantization
Chapter 3: Pulse Code Modulation
لجنة الهندسة الكهربائية
MECH 373 Instrumentation and Measurements
Digital Control Systems Waseem Gulsher
COMS 161 Introduction to Computing
Analog to Digital Encoding
ELEN E4810: Digital Signal Processing Topic 11: Continuous Signals
Presentation transcript:

Basics of Digital Audio Module (revised) MUSC 365 Basics of Digital Audio Module (revised)

Analog = continuous sound or audio waveform continuous time and amplitude infinite possibilities within a given range

Digital = discrete time and amplitude are discrete only certain values are allowed

Continuous vs. Discrete All numbers (including fractions) Only integers distance down my street number of houses on my street time it takes to cook an egg number of eggs a chicken lays volume of applesauce number of apples in a basket

Sampling the process of making discrete time Amplitude of a waveform is captured (sampled) at regularly spaced intervals the rate of repeat of this regularly spaced interval is called the sample rate (Pohlmann pg. 27) Proof in Couch pg. 90-91

Sampling Rate (ƒs) The sample rate determines the bandwidth of the system A signal of bandwidth BW may be LOSSLESSLY sampled if the sampling rate ƒs ≥ 2 • BW Input must be bandlimited to half the sampling rate High fs: Large guard band, Allows varispeedLow fs: Reduces transmission and storage BW Critical Sampling: When a signal is sampled at exactly twice its highest frequency. Never done in audio

Sampling Rate (ƒs) Common sample rates: 44.1kHz for audio only (CD, MP3, etc) 48kHz for video/film (DVD, etc) double (2x) and quadruple (4x) those rates

Nyquist Frequency half the sampling frequency (ƒs / 2) Highest frequency possible in a digital system 22.05kHz for ƒs = 44.1kHz

Sampling Process - Input Initial audio input frequencies above ƒs / 2 have been removed

Sampling Process waveform is periodically sampled A band limited waveform amplitude modulates an impulse train. The spectrum of an impulse train is sinewaves @ multiples of Fs. Modulated spectrum is waveform spectrum (bandlimited) repeated around multiples of Fs (with upper and lower sidebands). If impulses have some width, then the total spectrum is superimposed with the |Sin (x)/x| curve.

Sampling Process the sampled signal

Sampling Process - Reconstruction the sampled signal is reconstructed (made continuous) “connecting-the-dots”

Sampling Process There is only waveform that satisfies 2 conditions: it passes thru all the sample points, and it does not have frequencies above ƒs / 2

Aliasing Input signal must be bandlimited (frequencies above ƒs / 2 removed) If it is not, frequencies above ƒs / 2 are folded back into audio band This artifact is called aliasing

Aliasing a high frequency waveform is put into the sampler

Aliasing the waveform is periodically sampled

Aliasing the sampled signal

Aliasing after the signal is reconstructed to a continuous waveform, but it is not what was input!

Aliasing Aliasing also happens in visual media... If you watch a film of a spinning wheel, it can seem to stop or go backwards http://www.youtube.com/watch?v=C8_6NRXfRVE

Quantization the process of making discrete Amplitude the amplitude range is broken up into a fixed number of level, also called quantization intervals amplitude is measured and assigned to the closest interval giving a ‘quantity’

Quantization Process sampled waveform any amplitude is possible

Quantization Process amplitude is rounded to the closest quantization interval

Quantization Process this close-up shows that there is some error in the quantization process

Quantization Process the smaller the intervals, the smaller the error will be since the range (maximum to minimum) is fixed, more levels will mean smaller levels

Quantization number of levels based on word length (number of bits per sample) # of levels = 2 # of bits Adding bit doubles the number of levels, which cuts the error in half reduces error by 6dB 6dB of dynamic range per bit

Dynamic Range Loudest to quietest 6dB of dynamic range per bit

Dynamic Range 8 bits = 28 = 256 = 48dB 12 bits = 212 = 4,096 = 72dB

Incredible accuracy Imagine a stack of paper 22 feet high. The thickness of a sheet of paper is the accuracy of a 16-bit quantization interval! Now imagine a stack of paper a mile high. The thickness of a sheet of paper is the accuracy of a 24-bit quantization interval!

Quantization Error Distortion power relative to number of intervals, independent of amplitude of signal Error changes perceptively with input level High level signal has un-correlated error (random noise) Low level signal has correlated error – distortion, not noise-like Error is +/- 1/2 Q with a rectangular PDF (equal chance)

Quantization Error Quantization noise is not random, but based on signal Distortion produces harmonics which can aliasMultiple input freq. can cause intermodulation distortionQuantization error can create Aliasing (frequencies not present in source) even though it occurs after the sample process

Dither Noise added to the signal to de-correlate the signal from the quantizer

Pros Randomizes granulation distortion, changing it to random noise encodes low-level signals via PWMear averages PWM signal to resolve signalWith dither, resolution is below least significant bit!

Con Raises noise floor slightly

Analog vs. Digital Deterioration In Analog, noise steadily deteriorates the signal-to-noise ratio In Digital, audio quality is independent of transmission/storage quality Until we reach a point of catastrophic failure, when the data can no longer be received correctly

Analog vs. Digital Deterioration