Content deleted Content added
m Open access bot: url-access updated in citation with #oabot. |
m unpiped links using script |
||
(3 intermediate revisions by one other user not shown) | |||
Line 137:
LPCM encodes a single sound channel. Support for multichannel audio depends on file format and relies on synchronization of multiple LPCM streams.<ref name=LOC_LPCM/><ref>{{Cite web|publisher=Library of Congress |url=https://www.loc.gov/preservation/digital/formats/fdd/fdd000016.shtml |title=PCM, Pulse Code Modulated Audio |date=April 6, 2022 |access-date=2022-09-05}}</ref> While two channels (stereo) is the most common format, systems can support up to 8 audio channels (7.1 surround)<ref name="rfc4856"/><ref name="rfc3190"/> or more.
Common sampling frequencies are 48 [[kHz]] as used with [[DVD]] format videos, or 44.1 kHz as used in CDs. Sampling frequencies of 96 kHz or 192 kHz can be used on some equipment, but the [[High-resolution audio#Controversy|benefits have been debated]].<ref>{{Cite web|last=Christopher|first=Montgometry|title=24/192 Music Downloads, and why they do not make sense|url=http://people.xiph.org/~xiphmont/demo/neil-young.html|url-status=dead|archive-url=https://web.archive.org/web/20140906115306/http://people.xiph.org/~xiphmont/demo/neil-young.html|archive-date=2014-09-06|access-date=2013-03-16|publisher=Chris "Monty" Montgomery}}</ref>
==Limitations==
The [[Nyquist–Shannon sampling theorem]] shows PCM devices can operate without introducing distortions within their designed frequency bands if they provide a sampling frequency at least twice that of the highest frequency contained in the input signal. For example, in [[telephony]], the usable [[voice frequency]] band ranges from approximately 300 to 3400 [[Hz]]
Regardless, there are potential sources of impairment implicit in any PCM system:
* Choosing a discrete value that is near but not exactly at the analog signal level for each sample leads to [[quantization error]]. When [[dither]]ing is used to compensate for this, it introduces additional noise.<ref group=note>Quantization error swings between -''q''/2 and ''q''/2. In the ideal case (with a fully linear ADC and signal level >> ''q'') it is [[uniform distribution (continuous)|uniformly distributed]] over this interval, with zero mean and variance of ''q''<sup>2</sup>/12.</ref>
* Between samples no measurement of the signal is made; the sampling theorem guarantees non-ambiguous representation and recovery of the signal only if it has no energy at frequency ''f<sub>s</sub>''/2 or higher (one half the sampling frequency, known as the [[Nyquist frequency]]); higher frequencies will not be correctly represented or recovered and add aliasing distortion to the signal below the Nyquist frequency.
* As samples are dependent on time, an accurate clock is required for accurate reproduction. If either the encoding or decoding clock is not stable, these imperfections will directly affect the output quality of the device.<ref group=note>A slight difference between the encoding and decoding clock frequencies is not generally a major concern; a small constant error is not noticeable. Clock error does become a major issue if the clock contains significant [[jitter]], however.</ref>
|