Thursday, January 1. 2004Pulse Code Modulation
Pulse Code Modulation (PCM) is a digital representation of analog signal.
Differential Pulse Code Modulation (DPCM) encodes PCM values as differences between the current and previous values. In other words, it reduces the number of bits required. Adaptive Differential Pulse Code Modulation (ADPCM) varies the size of quantization step to allow further reduction. M-law AlgorithmMostly used in North America, Japan. F(x) = sgn (ln(1 - M|x|) / ln(1 + M)), -1 <= x <= 1 M = 255 (8 bits) Used because speech has a wide dynamic range that does not lend itself well to efficient linear digital encoding. A-law AlgorithmUsed in Europe and most part of the world. x <= AÂ Â Â Â Â Â Â Â Â Â Â Â F(x) =Â (Ax) / (1 + ln A) 1/A <= x <= 1Â Â F(x) = (1 + ln Ax) / (1 + ln A) A-law takes a 12 or 16 bit audio and convert it to a 8 bit value. Trackbacks
Trackback specific URI for this entry
No Trackbacks
|