Digital recording


In digital recording, an audio signal is picked up by a microphone, another transducer or a direct audio feed, or a video signal is picked up by a camera or similar device. These signals are then digitized, converted into a stream of discrete numbers, representing the changes over time in air pressure for audio, or chroma and luminance values for video. This number stream is recorded to a storage device. To play back a digital recording, the numbers are retrieved and converted back into their original analog audio or video waveforms so that they can be heard or seen. The digitized number streams themselves are never actually heard or seen, being hidden by the process. In a properly matched analog-to-digital converter and digital-to-analog converter pair, there is one and only one analog output which must, by definition, exactly match the analog input.
Because the signal is stored digitally, the recording is not degraded by copying, not degraded by storage, and not degraded by interference.

Timeline

Recording
  1. The analog signal is transmitted from the input device to an analog-to-digital converter.
  2. The ADC converts this signal by repeatedly measuring the momentary level of the analog wave and then assigning a binary number with a given quantity of bits to each measuring point.
  3. The frequency at which the ADC measures the level of the analog wave is called the sample rate or sampling rate.
  4. A digital audio sample with a given word length represents the audio level at one moment.
  5. The longer the word length the more precise the representation of the original audio wave level.
  6. The higher the sampling rate the higher the upper audio frequency of the digitized audio signal.
  7. The ADC outputs a sequence of digital audio samples that make up a continuous stream of 0s and 1s.
  8. These binary numbers are stored on recording media such as a hard drive, optical drive or in solid state memory.
Playback
  1. The sequence of numbers is transmitted from storage into a digital-to-analog converter, which converts the numbers back to an analog signal by sticking together the level information stored in each digital sample, thus rebuilding the original analog wave form.
  2. This signal is amplified and transmitted to the loudspeakers or video screen.

    Recording of bits

Even after getting the signal converted to bits, it is still difficult to record; the hardest part is finding a scheme that can record the bits fast enough to keep up with the signal. For example, to record two channels of audio at 44.1 kHz sample rate with a 16 bit word size, the recording software has to handle 1,411,200 bits per second.

Techniques to record to commercial media

For digital cassettes, the read/write head moves as well as the tape in order to maintain a high enough speed to keep the bits at a manageable size.
For optical disc recording technologies such as CDs or DVDs, a laser is used to burn microscopic holes into the dye layer of the medium. A weaker laser is used to read these signals. This works because the metallic substrate of the disc is reflective, and the unburned dye prevents reflection while the holes in the dye permit it, allowing digital data to be represented.

Parameters of digital audio recording

Word size

The number of bits used to represent a sampled audio wave directly affects the resulting noise in a recording after intentionally added dither, or the distortion of an undithered signal.
The number of possible voltage levels at the output is simply the number of levels that may be represented by the largest possible digital number. There are no “in between” values allowed. If there are more bits in each sample the waveform is more accurately traced, because each additional bit doubles the number of possible values. The distortion is roughly the percentage that the least significant bit represents out of the average value. Distortion in digital systems increases as signal levels decrease, which is the opposite of the behavior of analog systems.

Sample rate

The sample rate is just as important a consideration as the word size. If the sample rate is too low, the sampled signal cannot be reconstructed to the original sound signal.
To overcome Aliasing, the sound signal must be sampled at a rate at least twice that of the highest frequency component in the signal. This is known as the Nyquist–Shannon sampling theorem. For recording music-quality audio, the following PCM sampling rates are the most common: 44.1, 48, 88.2, 96, 176.4, and 192 kHz, each with an upper frequency limit half the sampling frequency.
When making a recording, experienced audio recording and mastering engineers will often do a master recording at a higher sampling rate and then do any editing or mixing at that same higher frequency to avoid aliasing errors. High resolution PCM recordings have been released on DVD-Audio, DAD, DualDisc, or High Fidelity Pure Audio on Blu-ray. In addition it is possible to release a high resolution recording as either an uncompressed WAV or lossless compressed FLAC file without down-converting it. There remains some controversy whether higher sampling rates actually provide any verifiable benefit in the consumer product when using modern anti-aliasing filters.
When a Compact Disc is to be made from a high-res recording, the recording must be down-converted to 44.1 kHz, or originally recorded at that rate. This is done as part of the mastering process.
Beginning in the 1980s, music that was recorded, mixed and/or mastered digitally was often labelled using the SPARS code to describe which processes were analog and which were digital. Since digital recording has become near-ubiquitous the SPARS codes are now rarely used.

Error rectification

One of the advantages of digital recording over analog recording is its resistance to errors. Once the signal is in the digital format, it will not be degraded from copying or storage.