| > To Continue with Chapter 2
Analog v. Digital Imagine watching someone walking along, bouncing a ball. Now imagine that the ball leaves a trail of smoke in its path. What does the trail look like? Probably some sort of continuous zigzag pattern, right?
The path of a bouncing ball. It's pretty clear though, that the faster we sample, the better chance we have of getting an accurate picture of the entire continuous path along which the ball has been traveling. After all, it could be that all sorts of weird and wacky things happen whenever we close our eyes! " The same path, but sampled by blinking.
Looking at Analog and Digital Waveform Representations Now lets take a look at two time domain representations of a soundwave, one analog and one digital:
An analog waveform and its digital cousin: the analog waveform has smooth and continuous changes. The digital version of the same waveform has a stairstep type look. The black squares are the actual samples taken by the computer. The grey lines suggest the "staircasing" that is an inevitable result of converting an analog signal to digital form. Note that the grey lines are only for show all that the computer knows about are the discrete points marked by the black squares. There is nothing in between those points. The analog waveform is nice and smooth, while the digital version is kind of chunky. This "chunkiness" is called quantization or staircasing for obvious reasons! Where do the "stairsteps" come from? Go back and look at the digital bouncing ball figure again, and see what would happen if you connected each of the samples with two lines at a right angle. Voila, a staircase! Staircasing is an artifact of the digital recording process, and illustrates how digitally recorded waveforms are only approximations of analog sources. They will always be approximations, in some sense, since it is theoretically impossible to store truly continuous data digitally. However, by increasing the number of samples taken each second (sample rate), as well as the accuracy of those samples (resolution), an extremely accurate recording can be made. In fact, we can prove mathematically that we can get so accurate that, theoretically, there is no difference between the analog waveform and its digital representation, at least to our ears.
|
||||||||||||||||||||||||||||||||||||||||||||||