Linear pulse-code modulation
||It has been suggested that this article be merged into Pulse-code modulation. (Discuss) Proposed since March 2013.|
|Internet media type||
|Type code||"AIFF" for L16, none|
|Type of format||uncompressed audio|
|Contained by||Audio CD, AES3, WAV, AIFF, AU, M2TS, VOB, and many others|
Linear pulse-code modulation (LPCM) is a method of encoding audio information digitally. The term also refers collectively to formats using this method of encoding. The term pulse-code modulation (PCM), though strictly more general, is often used to describe data encoded as LPCM.
LPCM represents sample amplitudes on a linear scale. LPCM specifies that the values stored are proportional to the amplitudes, rather than representing say the logarithm of the amplitude (e.g., companding – A-law/u-law), or being related in some other manner (e.g., DPCM or ADPCM).
LPCM audio is coded using a combination of various parameters such as audio bit depth, sampling rate, signedness, number of channels (monaural, stereo, quadrophonic, etc.), interleaving of channels and endianness.
- LPCM is used for the lossless encoding of audio data in the Compact disc Red Book standard (informally also known as Audio CD), introduced in 1982.
- AES3 (specified in 1985) is a particular format using LPCM.
- On PCs, the term PCM and LPCM often refer to the format used in WAV (defined in 1991) and AIFF audio container formats (defined in 1988). LPCM data may also be stored in other formats such as AU, raw audio format (header-less file) and various multimedia container formats.
- LPCM has been defined as a part of the DVD (since 1995) and Blu-ray (since 2006) standards. It is also defined as a part of various digital video and audio storage formats (e.g. DV since 1995, AVCHD since 2006).
- Linear pulse-code modulation is used by HDMI (defined in 2002), a single-cable digital audio/video connector interface for transmitting uncompressed digital data.
- RF64 container format (defined in 2007) uses LPCM and also allows non-PCM bitstream storage: various compression formats contained in the RF64 file as data bursts (Dolby E, Dolby AC3, DTS, MPEG-1/MPEG-2 Audio) can be "disguised" as PCM linear.
Standard sampling resolutions and rates
LPCM encodes a single sound channel. Support for multichannel audio depends on file format and relies on interweaving or synchronization of LPCM streams. While two channels (stereo) is the most common format, some can support up to 8 audio channels (7.1 surround).
Common sampling frequencies are 48 kHz as used with DVD format videos, or 44.1 kHz as used in Compact discs. Sampling frequencies of 96 kHz or 192 kHz can be used on some newer equipment, with the higher value equating to 6.144 megabit per second for two channels at 16-bit per sample value, but the benefits have been debated. The bitrate limit for LPCM audio on DVD-Video is also 6.144 Mbit/s, allowing 8 channels (7.1 surround) × 48 kHz × 16-bit per sample = 6,144 kbit/s.
Older DVD players only support 48 kHz/16-bit capability. Recent players have built-in 96 kHz/24-bit capabilities. The DVD-Audio standard supports 192 kHz/24-bit playback.
Linear 32bit PCM
There is a L32 bit PCM, and there are many sound cards that support it.
Similar effects of DTS-HD master audio (192kHz DTS)
It is said that there is no difference at all that can be heard from a Linear 32 bit PCM at a 96 kHz sample rate playback sound to a, high quality DTS-HD Master Audio (192 kHz DTS). They both sound the same because, of the extremely high quality sound playback from these two types of codecs. But, in reality the 192 kHz DTS sound file has actually 1.45 times better quality than a sound file of L32 at 96 kHz.
- Alvestrand, Harald Tveit; Salsman, James (May 1999). "RFC 2586 – The Audio/L16 MIME content type". The Internet Society. Retrieved 2010-03-16.
- Casner, S. (March 2007). "RFC 4856 – Media Type Registration of Payload Formats in the RTP Profile for Audio and Video Conferences – Registration of Media Type audio/L8". The IETF Trust. Retrieved 2010-03-16.
- Bormann, C.; Casner, S.; Kobayashi, K.; Ogawa, A. (January 2002). "RFC 3190 – RTP Payload Format for 12-bit DAT Audio and 20- and 24-bit Linear Sampled Audio". The Internet Society. Retrieved 2010-03-16.
- "Audio Media Types". Internet Assigned Numbers Authority. Retrieved 2010-03-16.
- "Linear Pulse Code Modulated Audio (LPCM)". Library of Congress. Retrieved 2010-03-21.
- Blu-ray Disc Association (2005-03), White paper Blu-ray Disc Format – 2.B Audio Visual Application Format Specifications for BD-ROM (PDF), retrieved 2009-07-26
- "DVD Technical Notes (DVD Video – "Book B") – Audio data specifications". 1996-07-21. Retrieved 2010-03-16.
- Jim Taylor. "DVD Frequently Asked Questions (and Answers) – Audio details of DVD-Video". Retrieved 2010-03-20.
- "How DV works". Archived from the original on 2007-12-06. Retrieved 2010-03-21.
- "AVCHD Information Website – AVCHD format specification overview". Retrieved 2010-03-21.
- EBU (2009-07), EBU Tech 3306 – MBWF / RF64: An Extended File Format for Audio (PDF), retrieved 2010-01-19
- "RFC 3108 – Conventions for the use of the Session Description Protocol (SDP) for ATM Bearer Connections". 2001-05. Retrieved 2010-03-16.
- "PCM, Pulse Code Modulated Audio". Library of Congress. Retrieved 2009-07-18.
- "24/192 Music Downloads, and why they do not make sense". Chris "Monty" Montgomery. Retrieved 2013-03-16.
- Summary of LPCM – Contains links to information about implementations and their specifications.
- How to control internal/external hardware using Microsoft's Media Control Interface – Contains information about, and specifications for the implementation of LPCM used in WAV files.
- RFC 4856 – Media Type Registration of Payload Formats in the RTP Profile for Audio and Video Conferences – audio/L8 and audio/L16 (March 2007)
- RFC 3190 – RTP Payload Format for 12-bit DAT Audio and 20- and 24-bit Linear Sampled Audio (January 2002)
- RFC 3551 – RTP Profile for Audio and Video Conferences with Minimal Control – L8 and L16 (July 2003)