1
Aaron Stevens with special guest Wayne Snyder
28 February 2011
Some images from www.mediacollege.com, Wikipedia.
CS101 Lecture 16: Digital Audio
2
What Youll Learn Today How do we hear sounds? How can audio - - PDF document
CS101 Lecture 16: Digital Audio Aaron Stevens with special guest Wayne Snyder 28 February 2011 Some images from www.mediacollege.com, Wikipedia. 1 What Youll Learn Today How do we hear sounds? How can audio information
1
Some images from www.mediacollege.com, Wikipedia.
2
3
We “hear” sound when a series of air compressions vibrate a membrane in our ear. The inner ear sends signals to our brain. The rate of this vibration is measured in Hertz, and the human ear can hear sounds in the range of roughly 20Hz - 20KHz.
4
6
7
8
11
12
Sampling: periodically measure the voltage and record the numeric value. Some data is lost, but a reasonable sound is reproduced.
13
In this case, we are measuring the amplitude of the sound wave with 3 bits of precision (8 possible values, Y axis), at a sampling rate determined along the X axis. We record the values for each sample.
14
For each sample, we need to select a discrete value for the amplitude. These values are recorded in 3 bits (right hand side).
15
Using the recorded information, the computer must re-recreate the sound wave. Some of the original information was lost by the sampling process!
16
To increate the quality of the recording, we can change 2 dimensions (independently): 1 - increase the sample rate (more points of measurement on X/time axis) 2 - increase the bit depth (more discrete levels of measurement on Y/amplitude axis).
18
19
20
http://www.youtube.com/watch?v=V5I41PdAK0Y (6 minutes)