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.

Slides:



Advertisements
Similar presentations
Analog to digital conversion
Advertisements

EET260: A/D and D/A conversion
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.
Digital Signal Processing
4-Integrating Peripherals in Embedded Systems (cont.)
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
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.
Quantization Prof. Siripong Potisuk.
Chapter 2 Fundamentals of Data and Signals
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.
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.
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)
 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.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Formatting and Baseband Modulation
LE 460 L Acoustics and Experimental Phonetics L-13
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.
Sampling Terminology f 0 is the fundamental frequency (Hz) of the signal –Speech: f 0 = vocal cord vibration frequency (>=80Hz) –Speech signals contain.
Radio production worktext.  Analog to Digital  Analog signal – continuously variable electrical signal whose shape is determined by the shape of the.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
Lecture # 22 Audition, Audacity & Sound Editing Sound Representation.
COMP Representing Sound in a ComputerSound Course book - pages
Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Digital Recording Theory Using Peak. Listening James Tenney, Collage #1 (“Blue Suede”),  Available in Bracken Library, on James Tenney Selected.
Sound and audio. Table of Content 1.Introduction 2.Properties of sound 3.Characteristics of digital sound 4.Calculate audio data size 5.Benefits of using.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Introduction to SOUND.
Digital Sound Actual representation of sound Stored in form of thousands of individual numbers (called samples) Not device dependent Stored in bits.
More Meaningful Jargon Or, All You Need to Know to Speak Like a Geek Sound.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Digital Recording. Digital recording is different from analog in that it doesn’t operate in a continuous way; it breaks a continuously varying waveform.
Fundamentals of Digital Audio. The Central Problem n Sound waves consist of air pressure changes n This is what we see in an oscilloscope view: changes.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
1 Rev 07/28/2015.  Describe: examples, definition,? 2.
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.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
ECE 101 An Introduction to Information Technology Analog to Digital Conversion.
Basics of Digital Audio Module (revised)
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 건국대학교 인터넷미디어공학부 임 창 훈.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Multimedia: making it Work
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Multimedia Systems and Applications
High Resolution Digital Audio
Chapter 2 Signal Sampling and Quantization
MECH 373 Instrumentation and Measurements
Digital Control Systems Waseem Gulsher
Sampling and Quantization
Representing Sound 2.6 – Data Representation.
COMS 161 Introduction to Computing
Analog to Digital Encoding
Recap In previous lessons we have looked at how numbers can be stored as binary. We have also seen how images are stored as binary. This lesson we are.
Presentation transcript:

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 use)

frequency (time based) characteristics of sound ANALOGDIGITAL sample rate (time based) = measured in hertz - cycles per second measured in hertz - samples per second

amplitude (level) frequency (time) characteristics of sound ANALOGDIGITAL quantization (level) sample rate (time) = = measured in decibel measured in bits

characteristics of sound analog-to-digital conversion : two steps (1) sampling (2) quantization

sampling theorem “A continuous audio signal can be replaced by a discrete sequence of samples without loss of any information and the original continuous audio signal can be reconstructed from the samples.”

When a digital recorder takes a sample, it takes a snapshot of the audio waveform and turns it into bits that can be stored and manipulated

sample rate The frequency of the 'snapshots' of the audio stream in a single second Just as in measuring frequency, hertz is used to define the number of samples taken per second

flip cards

flip cards

sample rate: the number of samples (measurements) taken of an analog signal in 1 second

sample rate: The sample rate determines the frequency range (bandwidth) of a system.

sample rate: The sample rate determines the frequency range (bandwidth) of a system. the number of samples (measurements) taken of an analog signal signal in 1 second The faster the sample rate, the better the accuracy of getting a true picture of higher frequencies.

Some common sample rates are: 22,050 aka kHz - 22,050 samples per second. A sample every 1/22,050 of a sec. 24,000 aka 24 kHz - 24,000 samples per second. A sample every 1/24,000 of a sec. 30,000 aka 30 kHz - 30,000 samples per second. A sample every 1/30,000 of a sec. 44,100 aka 44.1 kHz - 44,100 samples per second. A sample every 1/44,000 of a sec. 48,000 aka 48 kHz - 48,000 samples per second. A sample every 1/48,000 of a sec.

The higher the sample rate, the better the quality of the sample. A sample taken at 44.1 kHz will contain twice the information as a sample taken at 22,050 kHz.

High sample rates are better at capturing high frequency waveforms, but if you are sampling lower frequency sounds, such as kick drum, bass, etc.,...not as critical. you might consider sampling at the lower rate to save hard drive space.

high freq. signa l

see p

NYQUIST THEORY Named after a Bell engineer who worked on the speed of telegraphs in the 1920s

There must be two samples per period. In other words, the sampling frequency must be at least twice the highest signal frequency recorded in order to be effective.

Sample rates with Nyquist yield 22,050 kHz = 11,025 kHz (Nyquist) 24,000 kHz = 12,000 kHz 30,000 kHz = 15,000 kHz 44,100 kHz = 22,050 kHz

It is therefore important to take into consideration the highest frequency of the audio material to be recorded.

If a frequency of A-14,080 Hz is to be recorded, a sample rate of 44.1 kHz would be the logical choice to use. 14,080 Hz falls within the range of the Nyquist of 44.1 kHz which is kHz.

The choice of sample rate determines the audio bandwidth of the recorder used. CD is 44.1 kHz Considering that the human hearing range at best ranges from 20 Hz to 20 kHz, a 44.1 kHz sample rate theoretically should satisfy most audio needs.

If a 25 kHz waveform is sampled at 44.1 kHz (which has a Nyquist value of kHz), the Nyquist rule is broken. This is also known as aliasing or foldover. 44 kHz - 25 kHz, results in a 19 kHz waveform which is heard as distortion.

see p. 125

In audio: Alias is mirrored the same distance below the Nyquist frequency as the original was above it, at the original amplitude (foldover) - 2k- 4k

aliasing

Once aliasing is introduced into the digital stream, it can’t be removed. It must be stopped before entering the digital stream.

QUANTIZATION The technique of measuring an audio event to form a numerical value. In digital audio, the values = voltages the more bits, the more voltages that can be represented. voltages represent amplitude

time (infinite) is quantized

hour 60 minutes...minutes 60 seconds...etc.

sample rate = frequency quantization = amplitude gain staging (p. 133)

quantization error The difference between the actual analog value at the sample time and the selected quantization interval value

The amplitude of the audio signal is broken down into a series of discrete steps. Each step is then given a binary word that digitally encodes the level of the signal. The length of the digital word determines the quality of the representation.

4 bits 16 voltages etc

The larger the word, the better the quality (16 bit word compared to an 8 bit word). The larger the bit word, the greater the headroom of the audio system (6 dB for every bit).

The more steps with which to describe the signal, the smoother the result will be.

SAMPLE BITS The more bits used to describe something, the better the clarity and fidelity An 8 bit sample contains 256 steps of information while a 16 bit sample contains up to 65,536 steps.

The bit resolution of a system defines the dynamic range of the system. 6dB is gained for every bit signal to noise ratio (analog) signal to error ratio (digital)

8 bits equals 256 states = 48 dB 16 bits equals 65,536 states = 96 dB To find the dynamic range of a system, multiply the bit rate X 6.

In a 16 bit system, there are 65,536 different numbers, each number representing a different analog signal voltage

Value rounded up or down to closest represented value Ex: voltage of 1.2v = v= v = quantization error

Quantization error is the difference between actual analog value and the assigned quantization value There is always error. 1/2 of LSb

LSb least significant bit on or off 8 bit reverb decay at end...hear it turn on off

sample rate = frequency response bit depth = amplitude recap sample rate bit depth

Sample rate and storage 44.1 kHz sample rate with a 16 bit recorder 5 megs per minute...per track 3 minute mono audio file 16/44.1= 15 megs 3 minute stereo audio file 16/44.1= 30 megs 3 minute 5 mono tracks 16/44.1= 75 megs 3 minute 5 stereo tracks 16/44.1= 150 megs

At a sample rate of 22,050 Hz, the formula would be half that of 44.1 kHz...around 2.5 megs a minute or 5 megs a minute in stereo. Uncompressed video with a sound track takes up 28 MB per second.

16-Bit Audio Files: * 5 MB per minute per 44.1 kHz sample rate * 5.5 MB per minute per 48 kHz sample rate * 11 MB per minute per 96 kHz sample rate * 8 MB per minute per 48 kHz sample rate * 16 MB per minute per 96 kHz sample rate

24-Bit Audio Files: * 7.5 MB per minute per 44.1 kHz sample rate * 8 MB per minute per 48 kHz sample rate * 16 MB per minute per 96 kHz sample rate