What is PCM?

Pulse-code modulation (PCM) represents a signal as a sequence of quantized amplitude samples. An audio PCM representation specifies properties such as sample rate, channel arrangement, and the numeric format used for each sample.

How PCM works

Linear PCM stores sample values on a linear amplitude scale, commonly as fixed-width signed integers or floating-point numbers. WAV often contains linear PCM, but WAV is a container and can carry other encodings. For packed fixed-width PCM, sample rate multiplied by channel count and stored bits per sample gives the sample-payload bitrate. Container headers, metadata, and padding add overhead beyond that payload.

Key facts

  1. Stereo 48 kHz, 16-bit packed PCM carries 48,000 × 2 × 16 = 1,536,000 bits per second, or 192,000 bytes per second before overhead.
  2. Raw PCM is not self-describing. Reading 24-bit samples as 16-bit data or using the wrong byte order changes the interpreted signal.
  3. PCM can contain the decoded output of a lossy recording. Saving that output as uncompressed samples preserves what remains; it cannot restore information discarded earlier.

When PCM matters

Use PCM when editing audio or passing samples between processing tools. For raw PCM without a container, supply the sample format, rate, channel count, and byte order so the receiving tool can interpret the bytes.

Sources

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free