Linear Pulse Code Modulation, commonly referred to as Linear PCM or LPCM, is an uncompressed audio format used to represent analog sound waves digitally. It is widely considered the gold standard for high-fidelity audio because it captures sound without removing data, unlike compressed formats such as MP3 or AAC.
LPCM is the standard format for audio on CDs, Blu-ray discs, and professional video production.
How Linear PCM Works
The term "Linear" refers to the way the analog signal is measured. In LPCM, the amplitude of the sound wave is sampled at uniform intervals, and each sample is assigned a digital value. This process involves two primary technical components:
- Sample Rate: This is how many times per second the audio is measured. For example, CD quality uses a sample rate of 44.1 kHz, meaning the sound is sampled 44,100 times every second.
- Bit Depth: This determines the dynamic range and precision of each sample. Common bit depths include 16-bit (CD quality) and 24-bit (professional studio quality).
In a "Linear" system, the quantization levels (the digital steps used to measure volume) are equally spaced. This ensures that the digital representation is a mathematically straight-line (linear) reflection of the original analog signal's voltage.
Key Characteristics of LPCM
- Uncompressed and Lossless: LPCM does not use compression algorithms to shrink file sizes. Every bit of data captured during the recording process is preserved, ensuring the highest possible audio quality.
- High Bandwidth: Because it is uncompressed, LPCM files are significantly larger than compressed formats. A standard stereo LPCM file at 24-bit/96 kHz requires substantial storage and data throughput.
- Universal Compatibility: Most professional audio software and playback hardware can read LPCM data without needing specialized decoders, making it a reliable format for archiving and master recordings.
Real-World Applications
LPCM is the "raw" language of digital audio. You will most commonly encounter it in the following areas:
- Video Production: Most professional cameras record audio in Linear PCM to ensure that editors have the highest quality source material for post-production.
- Home Theater: High-definition movie formats, such as Blu-ray, often use LPCM for 5.1 or 7.1 surround sound tracks to provide a lossless cinematic experience.
- Digital Audio Workstations (DAWs): When recording a podcast or a musical instrument into a computer, the software typically converts the incoming analog signal into LPCM (often wrapped in a .WAV or .AIFF file container).
LPCM vs. Standard PCM
While the terms are often used interchangeably, "PCM" is a general category for pulse code modulation. Linear PCM is a specific type where the values are linearly proportional to the amplitude.
Other versions, such as A-law or $\mu$-law PCM, use logarithmic scaling to compress the data, which is common in older telecommunications systems but unsuitable for high-quality music or video production.