In digital recording, an audio or video signal is 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 saved to a storage device. To play back a digital recording, the numbers are retrieved and converted back into their original analog audio or video forms so that they can be heard or seen.
In a properly matched analog-to-digital converter (ADC) and digital-to-analog converter (DAC) pair the analog signal is accurately reconstructed per the constraints of the Nyquist–Shannon sampling theorem dependent on the sampling rate and quantization error dependent on the audio or video bit depth. Because the signal is stored digitally, assuming proper error detection and correction, the recording is not degraded by copying, storage or interference.
Recording
Playback
For digital cassettes, the tape head moves as well as the tape, typically in a helical scan configuration, in order to maintain a high enough speed to keep the bits at a manageable size.
For optical disc recording technologies such as CD-R, a laser is used to alter the optical properties of the dye layer of the medium. A weaker laser is used to read these patterns.
The number of bits used to represent an audio signal directly affects the resulting noise or distortion in a recording.[a][51]
As stated by the Nyquist–Shannon sampling theorem, to prevent aliasing, the audio signal must be sampled at a rate at least twice that of the highest frequency component in the signal. For music-quality audio, 44.1 and 48 kHz sampling rates are the most common.
Master recording may be done at a higher sampling rate (i.e. 88.2, 96, 176.4 or 192 kHz). High-resolution PCM recordings have been released on DVD-Audio (also known as DVD-A), DualDisc (utilizing the DVD-Audio layer), 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[52] (usually at 24 bits) without down-converting it. There remains controversy about whether higher sampling rates provide any verifiable benefit to the consumer product.[53]
When a Compact Disc (the CD Red Book standard is 44.1 kHz 16 bit) is to be made from a high-res recording, the recording must be down-converted to 44.1 kHz. This is done as part of the mastering process.
Beginning in the 1980s, music that was recorded, mixed or mastered digitally was often labeled 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.
Main article: Digital data |
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 (add noise or distortion) from copying or storage.