---
title: Differential pulse-code modulation
slug: differential-pulse-code-modulation
qid: 
snapshot: enwiki-001322620448
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1322620448
tags: [23603337, 24043274, 26220375, 29176270, 30426083, 98996652]
---

# Differential pulse-code modulation

> [!note] Provenance
> Snapshot `enwiki-001322620448` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1322620448> · Licensed CC BY-SA 4.0

Differential pulse-code modulation (DPCM) encodes changes between consecutive samples of a signal, rather than the signal's value directly (as done in pulse-code modulation). Decoding might thus be done by some manner of integrating DPCM samples over time. The input can be an analog signal or a digital signal. If the input is a continuous-time analog signal, it needs to be sampled to become a discrete-time signal. Two methods to encode each DPCM value are: * Method 1: First, quantize the samples (if not quantized already). The output is the difference between the current and previous sample. * Method 2: Quantize the difference between the current sample and the output of a local decoder. Applying one of these two methods, short-term redundancy (positive correlation of nearby values) of the signal is eliminated; compression ratios on the order of 2 to 4 can be achieved if differences are subsequently entropy coded, because the entropy of the difference signal is much smaller than that of the original discrete signal treated as independent samples. But removing this redundancy makes the encoded signal more fragile.

Differential pulse-code modulation (DPCM) encodes changes between consecutive samples of a signal, rather than the signal's value directly (as done in pulse-code modulation). Decoding might thus be done by some manner of integrating DPCM samples over time. The input can be an analog signal or a digital signal. If the input is a continuous-time analog signal, it needs to be sampled to become a discrete-time signal. Two methods to encode each DPCM value are: Method 1: First, quantize the samples (if not quantized already). The output is the difference between the current and previous sample. Method 2: Quantize the difference between the current sample and the output of a local decoder. Applying one of these two methods, short-term redundancy (positive correlation of nearby values) of the signal is eliminated; compression ratios on the order of 2 to 4 can be achieved if differences are subsequently entropy coded, because the entropy of the difference signal is much smaller than that of the original discrete signal treated as independent samples. But removing this redundancy makes the encoded signal more fragile. ==See also== Adaptive differential pulse-code modulation Delta modulation, a special case of DPCM where the differences e Q [n] are represented with 1 bit as ±Δ Pulse modulation methods Delta-sigma modulation ==References==
