Analog Representations of Sound



Similar documents
Introduction to Digital Audio

Basics of Digital Recording

Digital Transmission of Analog Data: PCM and Delta Modulation

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

Introduction and Comparison of Common Videoconferencing Audio Protocols I. Digital Audio Principles

Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

PCM Encoding and Decoding:

PHY-2464 Physical Basis of Music

Lab 5 Getting started with analog-digital conversion

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

Analog-to-Digital Voice Encoding

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Timing Errors and Jitter

Improving A D Converter Performance Using Dither

Digitizing Sound Files

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Speech Signal Processing: An Overview

Lesson 16 Analog-to-Digital Converter (ADC)

CBS RECORDS PROFESSIONAL SERIES CBS RECORDS CD-1 STANDARD TEST DISC

AN3998 Application note

DAC Digital To Analog Converter

TCOM 370 NOTES 99-6 VOICE DIGITIZATION AND VOICE/DATA INTEGRATION

1995 Mixed-Signal Products SLAA013

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

SIGNAL PROCESSING FOR EFFECTIVE VIBRATION ANALYSIS

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

Example/ an analog signal f ( t) ) is sample by f s = 5000 Hz draw the sampling signal spectrum. Calculate min. sampling frequency.

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Audio Editing. Using Audacity Matthew P. Fritz, DMA Associate Professor of Music Elizabethtown College

Multiplexing and Sampling Theory

Non-Data Aided Carrier Offset Compensation for SDR Implementation

Digital Guitar Effects Pedal

Dithering in Analog-to-digital Conversion

UNIVERSITY OF CALICUT

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Introduction to FM-Stereo-RDS Modulation

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

- T-Carrier Technologies -

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

Analog vs. Digital Transmission

Trigonometric functions and sound

Lecture 3: Signaling and Clock Recovery. CSE 123: Computer Networks Stefan Savage

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

CLOCK AND SYNCHRONIZATION IN SYSTEM 6000

Spectrum Analyzers. R9211Series. R9211A/9211B/9211C/9211E FFT Analyzer Series. Choice of 4 Types To Fit the Application

How To Encode Data From A Signal To A Signal (Wired) To A Bitcode (Wired Or Coaxial)

ADC and DAC. Quantization

Information, Entropy, and Coding

Computer Logic (2.2.3)

Lecture 2 Outline. EE 179, Lecture 2, Handout #3. Information representation. Communication system block diagrams. Analog versus digital systems

1. (Ungraded) A noiseless 2-kHz channel is sampled every 5 ms. What is the maximum data rate?

6.025J Medical Device Design Lecture 3: Analog-to-Digital Conversion Prof. Joel L. Dawson

Chapter 6: From Digital-to-Analog and Back Again

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

DEVELOPMENT OF DEVICES AND METHODS FOR PHASE AND AC LINEARITY MEASUREMENTS IN DIGITIZERS

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

CELL PHONE AUDIO CONTROLLED POINT OF SALE TECHNOLOGY REVIEW REPORT. Alana Sweat Group 9 October 18, 2008

Analog and Digital Filters Anthony Garvert November 13, 2015

Lab 1: The Digital Oscilloscope

Android based Alcohol detection system using Bluetooth technology

For Articulation Purpose Only

SGN-1158 Introduction to Signal Processing Test. Solutions

25. AM radio receiver

Digital to Analog Converter. Raghu Tumati

ADS9850 Signal Generator Module

Automotive. Aerospace. bout Us. Defense. Energy. Maritime. Education. Electronics. and more

City of Dublin Education & Training Board. Programme Module for. Music Technology. Leading to. Level 5 FETAC. Music Technology 5N1640

INTERFERENCE OF SOUND WAVES

Digital To Analog Converter with Sine Wave Output

A WEB BASED TRAINING MODULE FOR TEACHING DIGITAL COMMUNICATIONS

PRIMER ON PC AUDIO. Introduction to PC-Based Audio

Analog-to-Digital Converters. Transducers

Agilent Creating Multi-tone Signals With the N7509A Waveform Generation Toolbox. Application Note

Sampling Theory For Digital Audio By Dan Lavry, Lavry Engineering, Inc.

Simple SDR Receiver. Looking for some hardware to learn about SDR? This project may be just what you need to explore this hot topic!

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

US-SPI New generation of High performances Ultrasonic device

Tutorial about the VQR (Voice Quality Restoration) technology

Sampling: What Nyquist Didn t Say, and What to Do About It

Analog and Digital Signals, Time and Frequency Representation of Signals

- Basic Voice over IP -

Advanced Signal Processing 1 Digital Subscriber Line

Signal Conversion. David J. Beebe

Technical Information. Digital Signals. 1 bit. Part 1 Fundamentals

Filter Comparison. Match #1: Analog vs. Digital Filters

Jitter in (Digital) Audio

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

MODULATION Systems (part 1)

Application Note: AN00103 Enabling DSD256 in the USB Audio 2.0 Device Reference Design Software

Multichannel Data Acquisition Systems. Section 4

Transcription:

Analog Representations of Sound Magnified phonograph grooves, viewed from above: The shape of the grooves encodes the continuously varying audio signal.

Analog to Digital Recording Chain ADC Microphone converts acoustic to electrical energy. It s a transducer. Continuously varying electrical energy is an analog of the sound pressure wave. ADC (Analog to Digital Converter) converts analog to digital electrical signal. Digital signal transmits binary numbers. DAC (Digital to Analog Converter) converts digital signal in computer to analog for your headphones.

Analog Analog versus Digital Continuous signal that mimics shape of acoustic sound pressure wave Digital Stream of discrete numbers that represent instantaneous amplitudes of analog signal, measured at equally spaced points in time.

Analog to Digital Conversion Instantaneous amplitudes of continuous analog signal, measured at equally spaced points in time. A series of snapshots

Analog to Digital Overview Sampling Rate How often analog signal is measured [samples per second, Hz] Example: 44,100 Hz Sampling Resolution [a.k.a. sample word length, bit depth ] Precision of numbers used for measurement: the more bits, the higher the resolution. Example: 16 bit

Nyquist Theorem: Sampling Rate Determines the highest frequency that you can represent with a digital signal. Sampling rate must be at least twice as high as the highest frequency you want to represent. Capturing just the crest and trough of a sine wave will represent the wave exactly.

Aliasing What happens if sampling rate not high enough? A high frequency signal sampled at too low a rate looks like a lower frequency signal. That s called aliasing or foldover. An ADC has a low-pass anti-aliasing filter to prevent this. Synthesis software can cause aliasing.

Common Sampling Rates Which rates can represent the range of frequencies audible by (fresh) ears? Sampling Rate Uses 44.1 khz (44100) CD, DAT 48 khz (48000) DAT, DV, DVD-Video 96 khz (96000) DVD-Audio 22.05 khz (22050) Old samplers Most software can handle all these rates.

3-bit Quantization A 3-bit binary (base 2) number has 2 3 = 8 values. 7 6 Amplitude 5 4 3 2 1 0 Time measure amp. at each tick of sample clock A rough approximation

4-bit Quantization A 4-bit binary number has 2 4 = 16 values. 14 12 Amplitude 10 8 6 4 2 0 Time measure amp. at each tick of sample clock A better approximation

Quantization Noise Round-off error: difference between actual signal and quantization to integer values Random errors: sounds like low-amplitude noise

The Digital Audio Stream It s just a series of sample numbers, to be interpreted as instantaneous amplitudes: one for every tick of the sample clock. Previous example: 11 13 15 13 10 9 6 1 4 9 15 11 13 9 This is what appears in a sound file, along with a header that indicates the sampling rate, bit depth and other things.

Common Sampling Resolutions Word length 8-bit integer 16-bit integer 24-bit integer Uses Low-res web audio CD, DAT, DV, sound files DVD-Video, DVD-Audio 32-bit floating point Software (usually only for internal representation)

16-bit Sample Word Length A 16-bit integer can represent 2 16, or 65,536, values (amplitude points). We typically use signed 16-bit integers, and center the 65,536 values around 0. 32,767 0-32,768

CD characteristics Audio File Size - Sampling rate: 44,100 samples per second (44.1 khz) - Sample word length: 16 bits (i.e., 2 bytes) per sample - Number of channels: 2 (stereo) How big is a 5-minute CD-quality sound file?

Audio File Size How big is a 5-minute CD-quality sound file? 44,100 samples * 2 bytes per sample * 2 channels = 176,400 bytes per second 5 minutes * 60 seconds per minute = 300 seconds 300 seconds * 176,400 bytes per second = 52,920,000 bytes = c. 50.5 megabytes (MB)

DAC: Sample and Hold To reconstruct analog signal, hold each sample value for one clock tick; convert it to steady voltage. Amplitude 7 6 5 4 3 2 1 0 Time

DAC: Smoothing Filter Apply an analog low-pass filter to the output of the sample-and-hold unit: averages stair steps into a smooth curve. Amplitude 7 6 5 4 3 2 1 0 Time