
Sampling involves the rate at which the converted sound is captured. There exists a direct relationship between the sampling rate, sound quality (fidelity), and storage space. The higher the sampling rate the higher the fidelity and the higher the storage requirements. Digital sound sampled at high fidelity rates requires massive storage. For example, the CD audio format can hold 600 million characters of text, but only 74 minutes of uncompressed music. This requires a tradeoff to be made between the quality of the sound and the storage requirements. Knowing the type of audio to be sampled and the intended purpose of the audio allows for a reasonable choice of sampling rate. In deciding upon a sampling rate one must be aware of the difference between playback rate and capturing (sampling), rate. These two rates are not the same. In fact the sampling rate must be two times the playback rate. The reason for this discrepancy is due to the Nyquist Effect (or Nyquist Theorem).
In a worst-case scenario with only one sample per period, instead of two samples as the above graph depicts, the reproduced sound might be played back as a continuous tone. While in practical applications this maximum loss of fidelity would not likely occur, unacceptable errors due to the Nyquist effect would be exhibited.Although many sampling rates exist, only the most popular and most common will be discussed. Human speech can be effectively reproduced at a rate of 5.5 kHz (kilo-Hertz). This requires a sampling rate of only 11kHz. Most natural world sounds and medium fidelity music can be reproduced at 11kHz with acceptable losses of fidelity (approx. FM radio frequencies). To reproduce high fidelity music at CD audio quality the sampling rate must be 44.1 kHz, giving a playback rate of 22 kHz, which is just above the limit of human hearing.
This two step process just described for sampling and quantizing sound digitially is termed Pulse Code Modulation (PCM). PCM is the standard method employed in the CD Audio format.
As with graphic/images files, different systems use different file formats for audio. Many of these have become de facto standards through their multi-platform use. The format can usually be identified through their file name extension. Some of the more popular extensions are listed in the following table:
| Extension | Name | System |
|---|---|---|
| .au or .snd | audio/sound | Sun, Mac, NeXT, UNIX |
| .aiff | AIFF | Apple, SGI |
| .voc | vocal | Soundblaster |
| .wav | WAVE | Microsoft |

For those students who are interested analog audio information can also be located on the net.
A good introduction to computer sound from Allison Zhang at the School of Library and Information Studies, Dalhousie University, Halifax, N.S., Canada