S/PDIF

Also known as: Sony/Philips Digital Interface

On this page 7

S/PDIF, short for Sony/Philips Digital Interface, is a consumer serial interface that carries two channels of PCM audio or a compressed multichannel bitstream from one device to another over a single coaxial or optical cable. In digital audio it is the standard way to move a signal between players, receivers, sound cards and converters without converting it to analog along the way.

The format is standardized as the consumer variant of IEC 60958, and it shares its frame structure with the professional AES3 interface. Its success comes from low cost and simple wiring, while its limits come from a clock embedded in the data and a fixed two-channel PCM capacity.

How S/PDIF encodes and transmits audio

S/PDIF transmits audio as a continuous stream of frames, one frame per sample period, each containing two 32-bit subframes for the left and right channels. Every subframe begins with a preamble that marks its position, followed by auxiliary bits, up to 20 or 24 bits of audio, and four flag bits for validity, user data, channel status and parity.

The line code is biphase mark coding, which places a transition at every bit boundary and an extra transition for each logical one. This makes the signal self-clocking and polarity-independent, so the receiver can recover the sample clock from the data itself without a separate clock wire.

The structure of a subframe is summarized below.

Bit slotsContentPurpose
0 to 3PreambleMarks block start and channel
4 to 7Auxiliary bitsExtend audio to 24 bits
8 to 27Audio sampleCarries the PCM word
28Validity flagSignals unusable samples
29User data bitOptional subcode information
30Channel status bitBuilds format metadata
31Parity bitDetects transmission errors
Layout of one S/PDIF subframe

Channel status bits from 192 consecutive frames form one block of metadata that declares the sample rate, word length, emphasis, whether the payload is PCM or compressed data and the SCMS copy-control flags. At 48 kHz the stream runs at 3.072 Mbit/s, which biphase coding doubles to about 6.1 million symbols per second on the wire.

Physical connections and electrical specifications

S/PDIF uses two physical media that carry an identical data stream: unbalanced coaxial cable and plastic optical fiber. A simple converter box can translate one to the other without touching the audio, because only the electrical or optical carrier changes.

PropertyCoaxialOptical
ConnectorRCA, sometimes BNCTOSLINK square plug
Signal levelAbout 0.5 V peak to peakRed LED light at 650 nm
Impedance75 ohmsNot applicable
Typical cable lengthUp to about 10 mAbout 5 to 10 m
Ground isolationNo, can carry hum loopsFull galvanic isolation
Bandwidth headroomHigher, reliable at 192 kHzOften limited to 96 kHz
Coaxial and optical S/PDIF compared

Coaxial links need genuine 75-ohm cable and connectors, because impedance mismatches create reflections that smear the transitions and increase jitter. Optical links avoid ground loops entirely, but inexpensive transmitters and receivers have slower edges, which can limit the highest sample rates and add timing uncertainty.

S/PDIF is best understood as the consumer sibling of AES3, with lower voltage, unbalanced wiring and a different channel status format. Other interfaces solve different problems: ADAT carries more channels, and HDMI carries lossless surround formats that S/PDIF cannot.

The table below compares S/PDIF with its closest neighbors.

InterfaceChannelsCableTypical use
S/PDIF2 PCM or compressed 5.1Coaxial or opticalConsumer and project studio
AES32 PCMBalanced 110-ohm XLRProfessional broadcast and studio
ADAT Lightpipe8 at 48 kHzOpticalExpanding interface inputs
HDMI audioUp to 8 PCM, lossless bitstreamsHDMIHome theater
USB audioMany, device dependentUSBComputer audio interfaces
Common digital audio interfaces side by side

Because AES3 and S/PDIF share the same frame layout, many devices accept both with a simple level and impedance adapter. Channel status interpretation differs, however, so a professional receiver may misread consumer metadata such as emphasis or word length.

Compressed surround formats over S/PDIF

S/PDIF can carry compressed multichannel audio by placing a data-reduced bitstream inside the PCM sample slots, a method standardized as IEC 61937. The channel status block flags the payload as non-audio so that a decoder, rather than a digital-to-analog converter, interprets it.

This allows Dolby Digital and DTS 5.1 to travel from a disc player or television to a receiver. The bandwidth of the link, however, cannot carry lossless formats such as Dolby TrueHD or DTS-HD Master Audio, nor more than two channels of uncompressed PCM, which is the main reason HDMI and its audio return channel replaced S/PDIF in home theater.

  • Two-channel PCM up to 24 bits and, on good hardware, up to 192 kHz.
  • Compressed 5.1 in Dolby Digital or DTS formats.
  • No uncompressed multichannel PCM and no object-based lossless formats.

Clocking, jitter and practical problems

The most important technical weakness of S/PDIF is that the receiver must derive its sample clock from the incoming data. Cable losses, poor terminations and slow optical edges add interface jitter, and a receiver with a weak phase-locked loop passes that timing error into its converter, slightly raising noise and distortion.

Modern converters reduce this effect with two-stage phase-locked loops, asynchronous sample rate conversion or buffering against a local crystal clock. In multi-device studios, a dedicated word clock distribution is still preferred over relying on S/PDIF as the clock master.

The following table lists common faults and their usual remedies.

SymptomLikely causeRemedy
Clicks and dropoutsSample rate or clock mismatchSet one device as clock master
Loud noise instead of audioBitstream sent to a PCM-only inputSwitch the source to PCM output
No lock at 192 kHzOptical bandwidth limitUse coaxial or lower the rate
Hum on coaxial linkGround loop between devicesUse optical or a transformer
Recording refusedSCMS copy-control flagsCheck source channel status settings
Typical S/PDIF faults and remedies

Understanding it simply

S/PDIF is a cable connection that sends sound as numbers. It does not send an electrical copy of the sound wave. A television or computer packs the audio into a fast stream of ones and zeros. That stream travels down one wire or a thin beam of light to an amplifier.

The sound stays digital until the final device. So nothing along the cable adds hiss to the music. The catch is capacity. It carries stereo perfectly, but full surround sound only works in compressed form.

Applied in practice

A home studio owner records voice-overs through a small USB audio interface that has only two microphone inputs. To add two more channels, she buys a stereo microphone preamplifier with a built-in converter and a coaxial S/PDIF output.

She connects it to the interface’s S/PDIF input with a 1.5 m 75-ohm cable, sets both devices to 48 kHz and makes the interface the clock master so that the preamplifier locks to it. In the digital audio workstation, two new inputs appear alongside the analog ones.

The first attempt produced occasional clicks because the preamplifier was running on its internal clock at 44.1 kHz. After switching it to external sync, the session records cleanly, and she gains two extra high-quality channels without buying a new interface.