Chapter 6 Digital Audio Technology

Slides:



Advertisements
Similar presentations
Multimedia: Digitised Sound Data Section 3. Sound in Multimedia Types: Voice Overs Special Effects Musical Backdrops Sound can make multimedia presentations.
Advertisements

Adam Diel.  In 1981 IBM PC 150 introduced the first PC Speaker.  Each game had to write support for it (sound cards were impractical during this time)
                      Digital Audio 1.
Digital Signal Processing
Digital Audio Teppo Räisänen LIIKE/OAMK. General Information Auditive information is transmitted by vibrations of air molecules The speed of sound waves.
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
Dale & Lewis Chapter 3 Data Representation Analog and digital information The real world is continuous and finite, data on computers are finite  need.
Information Sources And Signals
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
Signals The main function of the physical layer is moving information in the form of electromagnetic signals across a transmission media. Information can.
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Physical Layer PART II.
ECE 4321: Computer Networks Chapter 3 Data Transmission.
1 Lecture 27 Physical Layer (Data and Signals) University of Nevada – Reno Computer Science & Engineering Department Fall 2010 CPE 400 / 600 Computer Communication.
4-Integrating Peripherals in Embedded Systems (cont.)
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
From the air to the iPod. Minute disturbances in the air, caused by a vibrating object Air molecules bunch together, then spread out Changes in density.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Digital Audio.
CHAPTER 5 Discrete Sampling and Analysis of Time-Varying Signals Analog recording systems, which can record signals continuously in time, digital data-acquisition.
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
Digital Audio Basics “Any signal can be completely reconstructed from samples.” - Harry Nyquist.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
Chapter 2 Fundamentals of Data and Signals
EET 450 Chapter 18 – Audio. Analog Audio Sound is analog Consists of air pressure that has a variety of characteristics  Frequencies  Amplitude (loudness)
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
Digital Data Patrice Koehl Computer Science UC Davis.
 Continuous sequence of vibrations of air  (Why no sound in space? Contrary to Star Wars etc.)  Abstraction of an audio wave:  Ear translates vibrations.
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.
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?
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Computing with Digital Media: A Study of Humans and Technology Mark Guzdial, School of Interactive Computing.
COMP Representing Sound in a ComputerSound Course book - pages
1 4-Integrating Peripherals in Embedded Systems (cont.)
Media Representations - Audio
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Audio Communications: Sound Mr. Butler Communication Systems John Jay High School Wappingers Central School District UPDATED 11/2011.
Digital Recording. Digital recording is different from analog in that it doesn’t operate in a continuous way; it breaks a continuously varying waveform.
Properties of Sound Making Waves. Sound Waves ■Sound is created by vibrations.
Digital Audio System PCM streams have two basic properties that determine their fidelity to the original analog signal: the sampling rate, which is the.
Spring 2006Data Communications, Kwangwoon University3-1 Chapter 3. Signals 1.Analog and digital 2.Analog signals 3.Digital signals 4.Analog versus digital.
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.
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.
Audio Formats. Digital sound files must be organized and structured so that your media player can read them. It's just like being able to read and understand.
Chapter 15 Recording and Editing Sound
Chapter 4 Fundamentals of Digital Audio
Part II Physical Layer.
The Physics of Sound.
COMPUTER NETWORKS and INTERNETS
Chapter 2 Understanding the Digital Domain
Multimedia: Digitised Sound Data
Signal conditioning.
                      Digital Audio 1.
Data Representation Keywords Sound
Chapter 2 Signal Sampling and Quantization
Multimedia: making it Work
Bits and Pieces November 6, 2007.
Digital Music Scott Bennett 1/3/2019.
Physical Layer Part 1 Lecture -3.
REVIEW Physical Layer.
Digital Audio Application of Digital Audio - Selected Examples
Chapter 9 Audio.
Presentation transcript:

Chapter 6 Digital Audio Technology Information Technology in Theory By Pelin Aksoy and Laura DeNardis Chapter 6 Digital Audio Technology

Information Technology in Theory Objectives Understand the physical and mathematical basis of sound waves Recognize the amplitude, frequency, and phase properties of sound Apply the three-step process for audio digitization Understand and apply the Nyquist Sampling Theorem Information Technology in Theory

Objectives (continued) Recognize the need for digital audio compression Explain how music files can be compressed without significant sound quality degradation Understand the difference between lossy and lossless compression techniques Become familiar with popular digital audio formats like MP3, WMA, WAV, AAC, and AIFF Information Technology in Theory

Information Technology in Theory Recording Sound The phonograph, invented by Thomas Edison in the late 1800s, was the first device created for sound recording and playback The tin-coated cylinders of the early phonograph were ultimately replaced by vinyl records Another early analog recording technique from the late 1800s relied on magnetism and electricity The magnetic recording approach was adopted by the music industry, and magnetic tapes replaced metallic wires as a recording medium This type of recording technique was later used to store music on audiocassettes, but its popularity diminished in the wake of CDs, flash drives, and alternative storage media Information Technology in Theory

Recording Sound (continued) Information Technology in Theory

Information Technology in Theory Creating Sound Sound is caused by physical disturbances of air molecules This transfer of energy among molecules creates a mechanical wave of energy called a sound wave, which propagates away from the source of the disturbance The creation of sound waves is usually compared to the formation of water waves Information Technology in Theory

Creating Sound (continued) Information Technology in Theory

Converting Between Sound and Electricity To digitize sound, electrical systems must convert mechanical sound waves into electrical sound waves—in other words, into an electrical audio signal Microphones capture sound waves and convert them into an electrical form, while speakers convert the electrical signal back into sound waves The electrical fluctuations correspond to the pressure fluctuations of the sound wave Information Technology in Theory

Converting Between Sound and Electricity (continued) This electrical signal can then be converted into a stream of bits by passing through an audio digitizer Such digitizers are found in sound cards embedded within computers and in chips within Cellular phones To understand the process of audio digitization, you must understand some additional properties of sound Information Technology in Theory

Converting Between Sound and Electricity (continued) Information Technology in Theory

Converting Between Sound and Electricity (continued) Information Technology in Theory

Pure and Complex Sounds Sound may be classified as either pure sound or complex sound Almost all the sounds we hear, from human speech to music to a barking dog, are classified as complex sounds One example of a nearly pure sound is the tone produced by a tuning fork A pure sound is a signal that varies in a sinusoidal manner Information Technology in Theory

Pure and Complex Sounds (continued) By contrast, a complex sound captured by a microphone fluctuates in a nonsinusoidal and irregular manner Although most sound is classified as complex, we will first discuss properties of pure sounds and then address complex sound properties Information Technology in Theory

Pure and Complex Sounds (continued) Information Technology in Theory

Amplitude, Frequency, and Phase Amplitude (A) is the magnitude of the signal at a given instant in time (t) Period (T) is the time a wave requires to complete a single cycle; it is measured in seconds (s) Information Technology in Theory

Amplitude, Frequency, and Phase (continued) Frequency (f), measured in hertz (Hz), is the number of cycles a wave completes in one second (s) Phase difference describes the alignment of two waves along the time axis and may be measured in degrees Information Technology in Theory

Amplitude, Frequency, and Phase (continued) Information Technology in Theory

Amplitude, Frequency, and Phase (continued) Information Technology in Theory

Amplitude, Frequency, and Phase (continued) kilohertz (kHz) 103 = 1000 Hz (thousand) megahertz (MHz) 106 = 1,000,000 Hz (million) gigahertz (GHz) 109 = 1,000,000,000 Hz (billion) milliseconds (ms) 10-3 = 0.001 seconds (1/1000 seconds) microseconds (μs) 10-6 = 0.000001 seconds (1/1,000,000 seconds) nanoseconds (ns) 10-9 = 0.000000001 seconds (1/1,000,000,000 seconds) Information Technology in Theory

Amplitude, Frequency, and Phase (continued) Information Technology in Theory

Amplitude, Frequency, and Phase (continued) Information Technology in Theory

Amplitude, Frequency, and Phase (continued) Information Technology in Theory

Frequency Composition of Sound Pure sounds, in simple terms, can be considered the basic components that make up complex sounds Each pure sound component can differ in terms of frequency, amplitude ranges, and phase differences A spectrum analyzer separates frequency components and displays this information on a graph called a frequency spectrum, with vertical spikes indicating the frequency components Information Technology in Theory

Frequency Composition of Sound (continued) Information Technology in Theory

Frequency Composition of Sound (continued) Information Technology in Theory

Information Technology in Theory Digitizing Sound The digitization process takes place in circuits called analog-to-digital converters (ADCs) Digital cellular phones have ADCs that digitize the audio signal generated by their microphones Sound cards and cellular phones contain digital-to-analog converters (DACs)—circuitry that converts streams of ones and zeros into a corresponding electrical audio signal Information Technology in Theory

Digitizing Sound (continued) Information Technology in Theory

Three-Step Process of Digitization Sampling Quantizing Encoding Information Technology in Theory

Three-Step Process of Digitization (continued) Information Technology in Theory

Information Technology in Theory Sampling Information Technology in Theory

Information Technology in Theory Quantizing Information Technology in Theory

Quantizing (continued) How do we calculate the available voltage values? Two parameters are required: Audio signal dynamic range Number of bits we are willing to use per sample 2Number of bits = Number of voltages that can be represented Information Technology in Theory

Information Technology in Theory Encoding Information Technology in Theory

Nyquist Sampling Theorem How do you know how often to take samples so that they adequately represent the original signal? Information Technology in Theory

Nyquist Sampling Theorem (continued) The minimum number of samples per second (the sampling frequency, or fs) required to perfectly reconstruct the analog signal should equal at least twice the value of the difference between the signal’s highest frequency component (fmax) and lowest frequency component (fmin) The theorem is represented by the following equations: fs ≥ 2(fmax-fmin) fs ≥ 2B Information Technology in Theory

Standard Sampling Rates In the public switched telephone network and cellular systems, analog voice signals are sampled at a rate of 8000 Hz, or 8000 samples per second The standard is to assign 8 bits per sample CD quality music is sampled at a rate of 44.1 kHz The standard is to assign 16 bits per sample Information Technology in Theory

Information Technology in Theory Quantization Error Quantization error is the difference between the actual value of the sample and the value to which the sample is rounded off It can be reduced by assigning more bits per sample during the ADC process Information Technology in Theory

Digital-to-Analog Conversion of Audio The recovery phase takes place in the DAC, which is present in any device associated with digital audio, such as an iPod, CD or DVD player, Play Station Personal (PSP) device, or a cellular phone If a signal is sampled at a rate that is lower than the Nyquist rate during digitization, the reconstructed signal is said to undergo aliasing into a new form Information Technology in Theory

Digital-to-Analog Conversion of Audio (continued) Information Technology in Theory

Digital Audio Compression Compression significantly reduces the size of digital audio files using techniques that are transparent to users Without compression, users would quickly run out of space on their hard disks and flash drives and be frustrated by time-consuming file downloads Information Technology in Theory

Audio Compression Requirements Information Technology in Theory

Enablers of Compression The limitations of human abilities, such as hearing, enable the compression of audio information Compression techniques fall into two categories: lossy compression and lossless compression Information Technology in Theory

Enablers of Compression (continued) Digital audio formats compress audio by actually eliminating some information, but not enough to be detectable by human hearing The process of compressing information in consideration of the limitations of human senses is called perceptual coding Information Technology in Theory

Information Technology in Theory Simultaneous Masking Information Technology in Theory

Popular Digital Audio Formats Moving Picture Experts Group Audio Layer-3 (MP3) Advanced Audio Coding (AAC) Windows Media Audio (WMA) Audio Interchange File Format (AIFF) Information Technology in Theory

Example of Digital Audio Storage Problem—Confirm that 20,000 compressed songs can be stored on an iPod that has a hard-disk capacity of 80 GB. Assume an average of 4 minutes per song and that the iPod encodes the songs using 128-Kbps AAC formatting. 80 GB = 80 × 8 × 230= 687,194,767,360 bits 687,194,767,360 bits/128,000 bits per second = 5,368,709.12 seconds 5,368,709.12 seconds/60 seconds per minute = 89,478.4853 minutes of digital music 89,478.4853 minutes/4 minutes per song = 22,369.621 songs This number confirms the iPod’s advertised rate of accommodating 20,000 songs Information Technology in Theory

Information Technology in Theory Summary Sound waves are created by the mechanical disturbance of air molecules • Sound waves can be captured electrically by a microphone as an analog audio signal, which can be digitized using an analog-to-digital converter • Audio digitization is a three-step process of sampling, quantization, and encoding; there is an important trade-off between the accuracy of this process and its associated cost • Sound is categorized as complex or pure Complex sounds comprise frequency components that vary in terms of their amplitude ranges, frequencies, and phase differences Information Technology in Theory

Information Technology in Theory Summary (continued) The minimum sampling frequency for digitizing audio signals is at least twice the value of the highest frequency components; aliasing occurs with a sampling rate that is less than the Nyquist rate • Digital audio files consume considerable storage space and bandwidth, but they can be compressed by exploiting the limitations of human hearing and the built-in redundancy within information Information Technology in Theory

Information Technology in Theory Summary (continued) • The two general approaches to compressing information are lossless compression and lossy compression; some compression techniques use a combination of these two approaches In lossless compression, none of the original information is lost In lossy compression, some information is discarded, such as frequencies • Some common digital audio file formats include MP3, AAC, WMA, WAV, and AIFF Information Technology in Theory