|<-- Back to Previous Page||TOC||Next Section -->|
Chapter 2: The Digital Representation of Sound,
When we talked about sampling, we made the point that the faster you sample, the better the quality. Fast is good: it gives us higher resolution (in time), just like in the old days when the faster your tape recorder moved, the more (horizontal) space it had to put the sound on the tape. But when you had fast tape recorders, moving at 30 or 60 inches per second, you used up a lot of tape. The faster our moving storage, the more media its going to consume. While this may be bad ecologically, its good sonically. Accuracy in recording demands space.
However, if we only have a limited amount of storage space, we need to do something about that space issue. One thing that eats up space digitally (in the form of memory or disk space) is bits. The more bits you use, the more hard disk space or memory size you need. Thats also true with sampling rates. If we sample at high rates, well use up more space.
We could, in principle, use 64-bit numbers (capable of extraordinary detail) and sample at 100 kHzbig numbers, fast speeds. But our sounds, as digitally stored numbers, will be huge. Somehow we have to make some decisions balancing our need for accuracy and sonic quality with our space and storage limitations.
For example, suppose we only use the values 0, 1, 2, and 3 as sample values. This would mean that every sample measurement would be "rounded off" to one of these four values. On one hand, this would probably be pretty inaccurate, but on the other hand, each sample would then be encoded using only a 2-bit number. Not too consumptive, and pretty simple, technologically! Unfortunately, using only these four numbers would probably mean that sample values wont be distinguished all that much! That is, most of our functions in the digital world would look pretty much alike. This would create very low resolution data, and the audio ramification is that they would sound terrible. Think of the difference between, for example, 8 mm and 16 mm film: now pretend you are using 1 mm film! Thats what a 4-bit sample size would be like.
So, while speed is importantthe more snapshots we take of a continuous function, the more accurately we can represent it in discrete formtheres another factor that seriously affects resolution: the resolution of the actual number system we use to store the data. For example, with only three numbers available (say, 0, 1, 2), every value we store has to be one of those three numbers. Thats bad. Well basically be storing a bunch of simple square waves. Well be turning highly differentiated, continuous data into nondifferentiated, overly discrete data.
In computers, the way we describe numerical resolution is by the size, or number of bits, used for number storage and manipulation. The number of bits used to represent a number is referred to as its bit width or bit depth. Bit width (or depth) and sample speed more or less completely describe the resolution and accuracy of our digital recording and synthesis systems. Another way to think of it is as the word-length, in bits, of the binary data.
Common bit widths used for digital sound representation are 8, 16, 24, and 32 bits. As we said, more is better: 16 bits gives you much more accuracy than 8 bits, but at a cost of twice the storage space. (Note that, except for 24, theyre all powers of 2. Of course you could think of 24 as halfway between 24 and 25, but we like to think of it as 24.584962500721156.)
Well take a closer look at storage in Section 2.7, but for now lets consider some standard number sizes.
You may notice that lower sampling rates make the sound "duller," or lacking in high frequencies. Lower bit widths make the sound, to use an imprecise word, "flatter"small amplitude nuances (at the waveform level) cannot be heard as well, so the sounds timbre tends to become more similar, and less defined.
Lets sum it up: what effect does bit width have on the digital storage of sounds? Remember that the more bits we use, the more accurate our recording. But each time our accuracy increases, so do our storage requirements. Sometimes we dont need to be that accuratethere are lots of options open to us when playing with digital sounds.
|<-- Back to Previous Page||Next Section -->|
©Burk/Polansky/Repetto/Roberts/Rockmore. All rights reserved.